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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.lightsail.model.LightsailRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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.Builderavoiding the need to create one manually viaEndpointRequest.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-