Interface ContainerServiceDeployment.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ContainerServiceDeployment.Builder,
,ContainerServiceDeployment> SdkBuilder<ContainerServiceDeployment.Builder,
,ContainerServiceDeployment> SdkPojo
- Enclosing class:
ContainerServiceDeployment
-
Method Summary
Modifier and TypeMethodDescriptioncontainers
(Map<String, Container> containers) An object that describes the configuration for the containers of the deployment.The timestamp when the deployment was created.publicEndpoint
(Consumer<ContainerServiceEndpoint.Builder> publicEndpoint) An object that describes the endpoint of the deployment.publicEndpoint
(ContainerServiceEndpoint publicEndpoint) An object that describes the endpoint of the deployment.The state of the deployment.The state of the deployment.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 Details
-
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
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 theGetContainerLog
action 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 theGetContainerLog
action 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:
-
-
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 theGetContainerLog
action 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 theGetContainerLog
action 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:
-
-
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
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.Builder
avoiding the need to create one manually viaContainerServiceEndpoint.builder()
.When the
Consumer
completes,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:
-
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.
-