@Stability(value=Stable) public static final class FargateServiceAttributes.Builder extends Object implements software.amazon.jsii.Builder<FargateServiceAttributes>
FargateServiceAttributes
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
FargateServiceAttributes |
build()
Builds the configured instance.
|
FargateServiceAttributes.Builder |
cluster(ICluster cluster)
Sets the value of
FargateServiceAttributes.getCluster() |
FargateServiceAttributes.Builder |
serviceArn(String serviceArn)
Sets the value of
FargateServiceAttributes.getServiceArn() |
FargateServiceAttributes.Builder |
serviceName(String serviceName)
Sets the value of
FargateServiceAttributes.getServiceName() |
@Stability(value=Stable) public FargateServiceAttributes.Builder cluster(ICluster cluster)
FargateServiceAttributes.getCluster()
cluster
- The cluster that hosts the service. This parameter is required.this
@Stability(value=Stable) public FargateServiceAttributes.Builder serviceArn(String serviceArn)
FargateServiceAttributes.getServiceArn()
serviceArn
- The service ARN.this
@Stability(value=Stable) public FargateServiceAttributes.Builder serviceName(String serviceName)
FargateServiceAttributes.getServiceName()
serviceName
- The name of the service.this
@Stability(value=Stable) public FargateServiceAttributes build()
build
in interface software.amazon.jsii.Builder<FargateServiceAttributes>
FargateServiceAttributes
NullPointerException
- if any required attribute was not providedCopyright © 2021. All rights reserved.