Interface TargetIdentifier.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<TargetIdentifier.Builder,,TargetIdentifier> SdkBuilder<TargetIdentifier.Builder,,TargetIdentifier> SdkPojo
- Enclosing class:
TargetIdentifier
@Mutable
@NotThreadSafe
public static interface TargetIdentifier.Builder
extends SdkPojo, CopyableBuilder<TargetIdentifier.Builder,TargetIdentifier>
-
Method Summary
Modifier and TypeMethodDescriptiondefault TargetIdentifier.BuildertargetId(Consumer<TargetId.Builder> targetId) The identifier for a target, which is currently always an account ID .The identifier for a target, which is currently always an account ID .targetType(String targetType) The type of a target.targetType(TargetType targetType) The type of a target.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
targetId
The identifier for a target, which is currently always an account ID .
- Parameters:
targetId- The identifier for a target, which is currently always an account ID .- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetId
The identifier for a target, which is currently always an account ID .
This is a convenience method that creates an instance of theTargetId.Builderavoiding the need to create one manually viaTargetId.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totargetId(TargetId).- Parameters:
targetId- a consumer that will call methods onTargetId.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
targetType
The type of a target. A target type is currently always
ACCOUNT.- Parameters:
targetType- The type of a target. A target type is currently alwaysACCOUNT.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
targetType
The type of a target. A target type is currently always
ACCOUNT.- Parameters:
targetType- The type of a target. A target type is currently alwaysACCOUNT.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-