Interface ECSExpressGatewayService.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ECSExpressGatewayService.Builder,ECSExpressGatewayService>,SdkBuilder<ECSExpressGatewayService.Builder,ECSExpressGatewayService>,SdkPojo
- Enclosing class:
- ECSExpressGatewayService
@Mutable @NotThreadSafe public static interface ECSExpressGatewayService.Builder extends SdkPojo, CopyableBuilder<ECSExpressGatewayService.Builder,ECSExpressGatewayService>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ECSExpressGatewayService.BuilderactiveConfigurations(Collection<ExpressGatewayServiceConfiguration> activeConfigurations)The list of active service configurations for the Express service.ECSExpressGatewayService.BuilderactiveConfigurations(Consumer<ExpressGatewayServiceConfiguration.Builder>... activeConfigurations)The list of active service configurations for the Express service.ECSExpressGatewayService.BuilderactiveConfigurations(ExpressGatewayServiceConfiguration... activeConfigurations)The list of active service configurations for the Express service.ECSExpressGatewayService.Buildercluster(String cluster)The short name or full ARN of the cluster that hosts the Express service.ECSExpressGatewayService.BuildercreatedAt(Instant createdAt)The Unix timestamp for when the Express service was created.ECSExpressGatewayService.BuildercurrentDeployment(String currentDeployment)The current deployment configuration for the Express service.ECSExpressGatewayService.BuilderinfrastructureRoleArn(String infrastructureRoleArn)The ARN of the infrastructure role that manages Amazon Web Services resources for the Express service.ECSExpressGatewayService.BuilderserviceArn(String serviceArn)The ARN that identifies the Express service.ECSExpressGatewayService.BuilderserviceName(String serviceName)The name of the Express service.default ECSExpressGatewayService.Builderstatus(Consumer<ExpressGatewayServiceStatus.Builder> status)The current status of the Express service.ECSExpressGatewayService.Builderstatus(ExpressGatewayServiceStatus status)The current status of the Express service.ECSExpressGatewayService.Buildertags(Collection<Tag> tags)The metadata applied to the Express service.ECSExpressGatewayService.Buildertags(Consumer<Tag.Builder>... tags)The metadata applied to the Express service.ECSExpressGatewayService.Buildertags(Tag... tags)The metadata applied to the Express service.ECSExpressGatewayService.BuilderupdatedAt(Instant updatedAt)The Unix timestamp for when the Express service was last updated.-
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 Detail
-
cluster
ECSExpressGatewayService.Builder cluster(String cluster)
The short name or full ARN of the cluster that hosts the Express service.
- Parameters:
cluster- The short name or full ARN of the cluster that hosts the Express service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceName
ECSExpressGatewayService.Builder serviceName(String serviceName)
The name of the Express service.
- Parameters:
serviceName- The name of the Express service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceArn
ECSExpressGatewayService.Builder serviceArn(String serviceArn)
The ARN that identifies the Express service.
- Parameters:
serviceArn- The ARN that identifies the Express service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
infrastructureRoleArn
ECSExpressGatewayService.Builder infrastructureRoleArn(String infrastructureRoleArn)
The ARN of the infrastructure role that manages Amazon Web Services resources for the Express service.
- Parameters:
infrastructureRoleArn- The ARN of the infrastructure role that manages Amazon Web Services resources for the Express service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
ECSExpressGatewayService.Builder status(ExpressGatewayServiceStatus status)
The current status of the Express service.
- Parameters:
status- The current status of the Express service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
default ECSExpressGatewayService.Builder status(Consumer<ExpressGatewayServiceStatus.Builder> status)
The current status of the Express service.
This is a convenience method that creates an instance of theExpressGatewayServiceStatus.Builderavoiding the need to create one manually viaExpressGatewayServiceStatus.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostatus(ExpressGatewayServiceStatus).- Parameters:
status- a consumer that will call methods onExpressGatewayServiceStatus.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
status(ExpressGatewayServiceStatus)
-
currentDeployment
ECSExpressGatewayService.Builder currentDeployment(String currentDeployment)
The current deployment configuration for the Express service.
- Parameters:
currentDeployment- The current deployment configuration for the Express service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
activeConfigurations
ECSExpressGatewayService.Builder activeConfigurations(Collection<ExpressGatewayServiceConfiguration> activeConfigurations)
The list of active service configurations for the Express service.
- Parameters:
activeConfigurations- The list of active service configurations for the Express service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
activeConfigurations
ECSExpressGatewayService.Builder activeConfigurations(ExpressGatewayServiceConfiguration... activeConfigurations)
The list of active service configurations for the Express service.
- Parameters:
activeConfigurations- The list of active service configurations for the Express service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
activeConfigurations
ECSExpressGatewayService.Builder activeConfigurations(Consumer<ExpressGatewayServiceConfiguration.Builder>... activeConfigurations)
The list of active service configurations for the Express service.
This is a convenience method that creates an instance of theExpressGatewayServiceConfiguration.Builderavoiding the need to create one manually viaExpressGatewayServiceConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#activeConfigurations(List.) - Parameters:
activeConfigurations- a consumer that will call methods onExpressGatewayServiceConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#activeConfigurations(java.util.Collection)
-
tags
ECSExpressGatewayService.Builder tags(Collection<Tag> tags)
The metadata applied to the Express service.
- Parameters:
tags- The metadata applied to the Express service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
ECSExpressGatewayService.Builder tags(Tag... tags)
The metadata applied to the Express service.
- Parameters:
tags- The metadata applied to the Express service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
ECSExpressGatewayService.Builder tags(Consumer<Tag.Builder>... tags)
The metadata applied to the Express service.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tags(java.util.Collection)
-
createdAt
ECSExpressGatewayService.Builder createdAt(Instant createdAt)
The Unix timestamp for when the Express service was created.
- Parameters:
createdAt- The Unix timestamp for when the Express service was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
ECSExpressGatewayService.Builder updatedAt(Instant updatedAt)
The Unix timestamp for when the Express service was last updated.
- Parameters:
updatedAt- The Unix timestamp for when the Express service was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-