Interface TargetIdentifier.Builder
- All Superinterfaces:
 Buildable,CopyableBuilder<TargetIdentifier.Builder,,TargetIdentifier> SdkBuilder<TargetIdentifier.Builder,,TargetIdentifier> SdkPojo
- Enclosing class:
 TargetIdentifier
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.The identifier for a target.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.
- Parameters:
 targetId- The identifier for a target.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
targetId
The identifier for a target.
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
ACCOUNTbecause a target is currently a single Amazon Web Services account.- Parameters:
 targetType- The type of a target. A target type is currently alwaysACCOUNTbecause a target is currently a single Amazon Web Services account.- 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
ACCOUNTbecause a target is currently a single Amazon Web Services account.- Parameters:
 targetType- The type of a target. A target type is currently alwaysACCOUNTbecause a target is currently a single Amazon Web Services account.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 
 -