Interface ExpressGatewayServiceConfiguration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ExpressGatewayServiceConfiguration.Builder,ExpressGatewayServiceConfiguration>,SdkBuilder<ExpressGatewayServiceConfiguration.Builder,ExpressGatewayServiceConfiguration>,SdkPojo
- Enclosing class:
- ExpressGatewayServiceConfiguration
@Mutable @NotThreadSafe public static interface ExpressGatewayServiceConfiguration.Builder extends SdkPojo, CopyableBuilder<ExpressGatewayServiceConfiguration.Builder,ExpressGatewayServiceConfiguration>
-
-
Method Summary
-
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
-
serviceRevisionArn
ExpressGatewayServiceConfiguration.Builder serviceRevisionArn(String serviceRevisionArn)
The ARN of the service revision.
- Parameters:
serviceRevisionArn- The ARN of the service revision.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
executionRoleArn
ExpressGatewayServiceConfiguration.Builder executionRoleArn(String executionRoleArn)
The ARN of the task execution role for the service revision.
- Parameters:
executionRoleArn- The ARN of the task execution role for the service revision.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskRoleArn
ExpressGatewayServiceConfiguration.Builder taskRoleArn(String taskRoleArn)
The ARN of the task role for the service revision.
- Parameters:
taskRoleArn- The ARN of the task role for the service revision.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cpu
ExpressGatewayServiceConfiguration.Builder cpu(String cpu)
The CPU allocation for tasks in this service revision.
- Parameters:
cpu- The CPU allocation for tasks in this service revision.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
memory
ExpressGatewayServiceConfiguration.Builder memory(String memory)
The memory allocation for tasks in this service revision.
- Parameters:
memory- The memory allocation for tasks in this service revision.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkConfiguration
ExpressGatewayServiceConfiguration.Builder networkConfiguration(ExpressGatewayServiceNetworkConfiguration networkConfiguration)
The network configuration for tasks in this service revision.
- Parameters:
networkConfiguration- The network configuration for tasks in this service revision.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkConfiguration
default ExpressGatewayServiceConfiguration.Builder networkConfiguration(Consumer<ExpressGatewayServiceNetworkConfiguration.Builder> networkConfiguration)
The network configuration for tasks in this service revision.
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)
-
healthCheckPath
ExpressGatewayServiceConfiguration.Builder healthCheckPath(String healthCheckPath)
The health check path for this service revision.
- Parameters:
healthCheckPath- The health check path for this service revision.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
primaryContainer
ExpressGatewayServiceConfiguration.Builder primaryContainer(ExpressGatewayContainer primaryContainer)
The primary container configuration for this service revision.
- Parameters:
primaryContainer- The primary container configuration for this service revision.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
primaryContainer
default ExpressGatewayServiceConfiguration.Builder primaryContainer(Consumer<ExpressGatewayContainer.Builder> primaryContainer)
The primary container configuration for this service revision.
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)
-
scalingTarget
ExpressGatewayServiceConfiguration.Builder scalingTarget(ExpressGatewayScalingTarget scalingTarget)
The auto-scaling configuration for this service revision.
- Parameters:
scalingTarget- The auto-scaling configuration for this service revision.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scalingTarget
default ExpressGatewayServiceConfiguration.Builder scalingTarget(Consumer<ExpressGatewayScalingTarget.Builder> scalingTarget)
The auto-scaling configuration for this service revision.
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)
-
ingressPaths
ExpressGatewayServiceConfiguration.Builder ingressPaths(Collection<IngressPathSummary> ingressPaths)
The entry point into this service revision.
- Parameters:
ingressPaths- The entry point into this service revision.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ingressPaths
ExpressGatewayServiceConfiguration.Builder ingressPaths(IngressPathSummary... ingressPaths)
The entry point into this service revision.
- Parameters:
ingressPaths- The entry point into this service revision.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ingressPaths
ExpressGatewayServiceConfiguration.Builder ingressPaths(Consumer<IngressPathSummary.Builder>... ingressPaths)
The entry point into this service revision.
This is a convenience method that creates an instance of theIngressPathSummary.Builderavoiding the need to create one manually viaIngressPathSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#ingressPaths(List.) - Parameters:
ingressPaths- a consumer that will call methods onIngressPathSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#ingressPaths(java.util.Collection)
-
createdAt
ExpressGatewayServiceConfiguration.Builder createdAt(Instant createdAt)
The Unix timestamp for when this service revision was created.
- Parameters:
createdAt- The Unix timestamp for when this service revision was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-