Interface UpdateExpressGatewayServiceRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateExpressGatewayServiceRequest.Builder,UpdateExpressGatewayServiceRequest>,EcsRequest.Builder,SdkBuilder<UpdateExpressGatewayServiceRequest.Builder,UpdateExpressGatewayServiceRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateExpressGatewayServiceRequest
@Mutable @NotThreadSafe public static interface UpdateExpressGatewayServiceRequest.Builder extends EcsRequest.Builder, SdkPojo, CopyableBuilder<UpdateExpressGatewayServiceRequest.Builder,UpdateExpressGatewayServiceRequest>
-
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.ecs.model.EcsRequest.Builder
build
-
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
-
serviceArn
UpdateExpressGatewayServiceRequest.Builder serviceArn(String serviceArn)
The Amazon Resource Name (ARN) of the Express service to update.
- Parameters:
serviceArn- The Amazon Resource Name (ARN) of the Express service to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
executionRoleArn
UpdateExpressGatewayServiceRequest.Builder executionRoleArn(String executionRoleArn)
The Amazon Resource Name (ARN) of the task execution role for the Express service.
- Parameters:
executionRoleArn- The Amazon Resource Name (ARN) of the task execution role for the Express service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
healthCheckPath
UpdateExpressGatewayServiceRequest.Builder healthCheckPath(String healthCheckPath)
The path on the container for Application Load Balancer health checks.
- Parameters:
healthCheckPath- The path on the container for Application Load Balancer health checks.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
primaryContainer
UpdateExpressGatewayServiceRequest.Builder primaryContainer(ExpressGatewayContainer primaryContainer)
The primary container configuration for the Express service.
- Parameters:
primaryContainer- The primary container configuration for the Express service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
primaryContainer
default UpdateExpressGatewayServiceRequest.Builder primaryContainer(Consumer<ExpressGatewayContainer.Builder> primaryContainer)
The primary container configuration for the Express service.
This is a convenience method that creates an instance of theExpressGatewayContainer.Builderavoiding the need to create one manually viaExpressGatewayContainer.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toprimaryContainer(ExpressGatewayContainer).- Parameters:
primaryContainer- a consumer that will call methods onExpressGatewayContainer.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
primaryContainer(ExpressGatewayContainer)
-
taskRoleArn
UpdateExpressGatewayServiceRequest.Builder taskRoleArn(String taskRoleArn)
The Amazon Resource Name (ARN) of the IAM role for containers in this task.
- Parameters:
taskRoleArn- The Amazon Resource Name (ARN) of the IAM role for containers in this task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkConfiguration
UpdateExpressGatewayServiceRequest.Builder networkConfiguration(ExpressGatewayServiceNetworkConfiguration networkConfiguration)
The network configuration for the Express service tasks. By default, the network configuration for an Express service uses the default VPC.
- Parameters:
networkConfiguration- The network configuration for the Express service tasks. By default, the network configuration for an Express service uses the default VPC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkConfiguration
default UpdateExpressGatewayServiceRequest.Builder networkConfiguration(Consumer<ExpressGatewayServiceNetworkConfiguration.Builder> networkConfiguration)
The network configuration for the Express service tasks. By default, the network configuration for an Express service uses the default VPC.
This is a convenience method that creates an instance of theExpressGatewayServiceNetworkConfiguration.Builderavoiding the need to create one manually viaExpressGatewayServiceNetworkConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tonetworkConfiguration(ExpressGatewayServiceNetworkConfiguration).- Parameters:
networkConfiguration- a consumer that will call methods onExpressGatewayServiceNetworkConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
networkConfiguration(ExpressGatewayServiceNetworkConfiguration)
-
cpu
UpdateExpressGatewayServiceRequest.Builder cpu(String cpu)
The number of CPU units used by the task.
- Parameters:
cpu- The number of CPU units used by the task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
memory
UpdateExpressGatewayServiceRequest.Builder memory(String memory)
The amount of memory (in MiB) used by the task.
- Parameters:
memory- The amount of memory (in MiB) used by the task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scalingTarget
UpdateExpressGatewayServiceRequest.Builder scalingTarget(ExpressGatewayScalingTarget scalingTarget)
The auto-scaling configuration for the Express service.
- Parameters:
scalingTarget- The auto-scaling configuration for the Express service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scalingTarget
default UpdateExpressGatewayServiceRequest.Builder scalingTarget(Consumer<ExpressGatewayScalingTarget.Builder> scalingTarget)
The auto-scaling configuration for the Express service.
This is a convenience method that creates an instance of theExpressGatewayScalingTarget.Builderavoiding the need to create one manually viaExpressGatewayScalingTarget.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toscalingTarget(ExpressGatewayScalingTarget).- Parameters:
scalingTarget- a consumer that will call methods onExpressGatewayScalingTarget.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
scalingTarget(ExpressGatewayScalingTarget)
-
overrideConfiguration
UpdateExpressGatewayServiceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateExpressGatewayServiceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-