Interface UsageTarget.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<UsageTarget.Builder,,UsageTarget> SdkBuilder<UsageTarget.Builder,,UsageTarget> SdkPojo
- Enclosing class:
UsageTarget
@Mutable
@NotThreadSafe
public static interface UsageTarget.Builder
extends SdkPojo, CopyableBuilder<UsageTarget.Builder,UsageTarget>
-
Method Summary
Modifier and TypeMethodDescriptionThe ARN of the resource the certificate is attached to, such as a load balancer.default UsageTarget.BuilderresourceIdentifier(Consumer<ResourceIdentifier.Builder> resourceIdentifier) The type and identifier of a target that has no ARN.resourceIdentifier(ResourceIdentifier resourceIdentifier) The type and identifier of a target that has no ARN.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
-
arn
The ARN of the resource the certificate is attached to, such as a load balancer.
- Parameters:
arn- The ARN of the resource the certificate is attached to, such as a load balancer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceIdentifier
The type and identifier of a target that has no ARN.
- Parameters:
resourceIdentifier- The type and identifier of a target that has no ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceIdentifier
default UsageTarget.Builder resourceIdentifier(Consumer<ResourceIdentifier.Builder> resourceIdentifier) The type and identifier of a target that has no ARN.
This is a convenience method that creates an instance of theResourceIdentifier.Builderavoiding the need to create one manually viaResourceIdentifier.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toresourceIdentifier(ResourceIdentifier).- Parameters:
resourceIdentifier- a consumer that will call methods onResourceIdentifier.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-