Interface CoverageEcsClusterDetails.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<CoverageEcsClusterDetails.Builder,
,CoverageEcsClusterDetails> SdkBuilder<CoverageEcsClusterDetails.Builder,
,CoverageEcsClusterDetails> SdkPojo
- Enclosing class:
CoverageEcsClusterDetails
@Mutable
@NotThreadSafe
public static interface CoverageEcsClusterDetails.Builder
extends SdkPojo, CopyableBuilder<CoverageEcsClusterDetails.Builder,CoverageEcsClusterDetails>
-
Method Summary
Modifier and TypeMethodDescriptionclusterName
(String clusterName) The name of the Amazon ECS cluster.containerInstanceDetails
(Consumer<ContainerInstanceDetails.Builder> containerInstanceDetails) Information about the Amazon ECS container running on Amazon EC2 instance.containerInstanceDetails
(ContainerInstanceDetails containerInstanceDetails) Information about the Amazon ECS container running on Amazon EC2 instance.fargateDetails
(Consumer<FargateDetails.Builder> fargateDetails) Information about the Fargate details associated with the Amazon ECS cluster.fargateDetails
(FargateDetails fargateDetails) Information about the Fargate details associated with the Amazon ECS cluster.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
clusterName
The name of the Amazon ECS cluster.
- Parameters:
clusterName
- The name of the Amazon ECS cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fargateDetails
Information about the Fargate details associated with the Amazon ECS cluster.
- Parameters:
fargateDetails
- Information about the Fargate details associated with the Amazon ECS cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fargateDetails
default CoverageEcsClusterDetails.Builder fargateDetails(Consumer<FargateDetails.Builder> fargateDetails) Information about the Fargate details associated with the Amazon ECS cluster.
This is a convenience method that creates an instance of theFargateDetails.Builder
avoiding the need to create one manually viaFargateDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofargateDetails(FargateDetails)
.- Parameters:
fargateDetails
- a consumer that will call methods onFargateDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
containerInstanceDetails
CoverageEcsClusterDetails.Builder containerInstanceDetails(ContainerInstanceDetails containerInstanceDetails) Information about the Amazon ECS container running on Amazon EC2 instance.
- Parameters:
containerInstanceDetails
- Information about the Amazon ECS container running on Amazon EC2 instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
containerInstanceDetails
default CoverageEcsClusterDetails.Builder containerInstanceDetails(Consumer<ContainerInstanceDetails.Builder> containerInstanceDetails) Information about the Amazon ECS container running on Amazon EC2 instance.
This is a convenience method that creates an instance of theContainerInstanceDetails.Builder
avoiding the need to create one manually viaContainerInstanceDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocontainerInstanceDetails(ContainerInstanceDetails)
.- Parameters:
containerInstanceDetails
- a consumer that will call methods onContainerInstanceDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-