Interface ContainerServiceDeployment.Builder

    • 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 the GetContainerLog 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 the GetContainerLog 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:
        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 the GetContainerLog 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 the GetContainerLog 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:
        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.
      • 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.