Interface CreateContainerServiceDeploymentRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateContainerServiceDeploymentRequest.Builder,
,CreateContainerServiceDeploymentRequest> LightsailRequest.Builder
,SdkBuilder<CreateContainerServiceDeploymentRequest.Builder,
,CreateContainerServiceDeploymentRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateContainerServiceDeploymentRequest
public static interface CreateContainerServiceDeploymentRequest.Builder
extends LightsailRequest.Builder, SdkPojo, CopyableBuilder<CreateContainerServiceDeploymentRequest.Builder,CreateContainerServiceDeploymentRequest>
-
Method Summary
Modifier and TypeMethodDescriptioncontainers
(Map<String, Container> containers) An object that describes the settings of the containers that will be launched on the container service.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.publicEndpoint
(Consumer<EndpointRequest.Builder> publicEndpoint) An object that describes the settings of the public endpoint for the container service.publicEndpoint
(EndpointRequest publicEndpoint) An object that describes the settings of the public endpoint for the container service.serviceName
(String serviceName) The name of the container service for which to create the deployment.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.lightsail.model.LightsailRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
serviceName
The name of the container service for which to create the deployment.
- Parameters:
serviceName
- The name of the container service for which to create the deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
containers
An object that describes the settings of the containers that will be launched on the container service.
- Parameters:
containers
- An object that describes the settings of the containers that will be launched on the container service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
publicEndpoint
An object that describes the settings of the public endpoint for the container service.
- Parameters:
publicEndpoint
- An object that describes the settings of the public endpoint for the container service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
publicEndpoint
default CreateContainerServiceDeploymentRequest.Builder publicEndpoint(Consumer<EndpointRequest.Builder> publicEndpoint) An object that describes the settings of the public endpoint for the container service.
This is a convenience method that creates an instance of theEndpointRequest.Builder
avoiding the need to create one manually viaEndpointRequest.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topublicEndpoint(EndpointRequest)
.- Parameters:
publicEndpoint
- a consumer that will call methods onEndpointRequest.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateContainerServiceDeploymentRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateContainerServiceDeploymentRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-