Interface ContainerServiceDeployment.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ContainerServiceDeployment.Builder,ContainerServiceDeployment>,SdkBuilder<ContainerServiceDeployment.Builder,ContainerServiceDeployment>,SdkPojo
- Enclosing class:
- ContainerServiceDeployment
public static interface ContainerServiceDeployment.Builder extends SdkPojo, CopyableBuilder<ContainerServiceDeployment.Builder,ContainerServiceDeployment>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ContainerServiceDeployment.Buildercontainers(Map<String,Container> containers)An object that describes the configuration for the containers of the deployment.ContainerServiceDeployment.BuildercreatedAt(Instant createdAt)The timestamp when the deployment was created.default ContainerServiceDeployment.BuilderpublicEndpoint(Consumer<ContainerServiceEndpoint.Builder> publicEndpoint)An object that describes the endpoint of the deployment.ContainerServiceDeployment.BuilderpublicEndpoint(ContainerServiceEndpoint publicEndpoint)An object that describes the endpoint of the deployment.ContainerServiceDeployment.Builderstate(String state)The state of the deployment.ContainerServiceDeployment.Builderstate(ContainerServiceDeploymentState state)The state of the deployment.ContainerServiceDeployment.Builderversion(Integer version)The version number of the deployment.-
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, sdkFields
-
-
-
-
Method Detail
-
version
ContainerServiceDeployment.Builder version(Integer version)
The version number of the deployment.
- Parameters:
version- The version number of the deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
ContainerServiceDeployment.Builder state(String state)
The state of the deployment.
A deployment can be in one of the following states:
-
ACTIVATING- The deployment is being created. -
ACTIVE- The deployment was successfully created, and it's currently running on the container service. The container service can have only one deployment in an active state at a time. -
INACTIVE- The deployment was previously successfully created, but it is not currently running on the container service. -
FAILED- The deployment failed. Use theGetContainerLogaction to view the log events for the containers in the deployment to try to determine the reason for the failure.
- Parameters:
state- The state of the deployment.A deployment can be in one of the following states:
-
ACTIVATING- The deployment is being created. -
ACTIVE- The deployment was successfully created, and it's currently running on the container service. The container service can have only one deployment in an active state at a time. -
INACTIVE- The deployment was previously successfully created, but it is not currently running on the container service. -
FAILED- The deployment failed. Use theGetContainerLogaction to view the log events for the containers in the deployment to try to determine the reason for the failure.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ContainerServiceDeploymentState,ContainerServiceDeploymentState
-
-
state
ContainerServiceDeployment.Builder state(ContainerServiceDeploymentState state)
The state of the deployment.
A deployment can be in one of the following states:
-
ACTIVATING- The deployment is being created. -
ACTIVE- The deployment was successfully created, and it's currently running on the container service. The container service can have only one deployment in an active state at a time. -
INACTIVE- The deployment was previously successfully created, but it is not currently running on the container service. -
FAILED- The deployment failed. Use theGetContainerLogaction to view the log events for the containers in the deployment to try to determine the reason for the failure.
- Parameters:
state- The state of the deployment.A deployment can be in one of the following states:
-
ACTIVATING- The deployment is being created. -
ACTIVE- The deployment was successfully created, and it's currently running on the container service. The container service can have only one deployment in an active state at a time. -
INACTIVE- The deployment was previously successfully created, but it is not currently running on the container service. -
FAILED- The deployment failed. Use theGetContainerLogaction to view the log events for the containers in the deployment to try to determine the reason for the failure.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ContainerServiceDeploymentState,ContainerServiceDeploymentState
-
-
containers
ContainerServiceDeployment.Builder containers(Map<String,Container> containers)
An object that describes the configuration for the containers of the deployment.
- Parameters:
containers- An object that describes the configuration for the containers of the deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
publicEndpoint
ContainerServiceDeployment.Builder publicEndpoint(ContainerServiceEndpoint publicEndpoint)
An object that describes the endpoint of the deployment.
- Parameters:
publicEndpoint- An object that describes the endpoint of the deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
publicEndpoint
default ContainerServiceDeployment.Builder publicEndpoint(Consumer<ContainerServiceEndpoint.Builder> publicEndpoint)
An object that describes the endpoint of the deployment.
This is a convenience method that creates an instance of theContainerServiceEndpoint.Builderavoiding the need to create one manually viaContainerServiceEndpoint.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topublicEndpoint(ContainerServiceEndpoint).- Parameters:
publicEndpoint- a consumer that will call methods onContainerServiceEndpoint.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
publicEndpoint(ContainerServiceEndpoint)
-
createdAt
ContainerServiceDeployment.Builder createdAt(Instant createdAt)
The timestamp when the deployment was created.
- Parameters:
createdAt- The timestamp when the deployment was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-