Interface TargetResource.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<TargetResource.Builder,,TargetResource> SdkBuilder<TargetResource.Builder,,TargetResource> SdkPojo
- Enclosing class:
TargetResource
public static interface TargetResource.Builder
extends SdkPojo, CopyableBuilder<TargetResource.Builder,TargetResource>
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Web Services Region where the target resource is located.default TargetResource.BuildertargetIdentifier(Consumer<TargetIdentifier.Builder> targetIdentifier) A target identifier is a pair of identifying information for a resource that is included in a target.targetIdentifier(TargetIdentifier targetIdentifier) A target identifier is a pair of identifying information for a resource that is included in 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
-
targetIdentifier
A target identifier is a pair of identifying information for a resource that is included in a target. A target identifier includes the target ID and the target type.
- Parameters:
targetIdentifier- A target identifier is a pair of identifying information for a resource that is included in a target. A target identifier includes the target ID and the target type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetIdentifier
default TargetResource.Builder targetIdentifier(Consumer<TargetIdentifier.Builder> targetIdentifier) A target identifier is a pair of identifying information for a resource that is included in a target. A target identifier includes the target ID and the target type.
This is a convenience method that creates an instance of theTargetIdentifier.Builderavoiding the need to create one manually viaTargetIdentifier.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totargetIdentifier(TargetIdentifier).- Parameters:
targetIdentifier- a consumer that will call methods onTargetIdentifier.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
region
The Amazon Web Services Region where the target resource is located.
- Parameters:
region- The Amazon Web Services Region where the target resource is located.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-