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 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 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:
    • 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:
    • 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

      An object that describes the endpoint of the deployment.

      This is a convenience method that creates an instance of the ContainerServiceEndpoint.Builder avoiding the need to create one manually via ContainerServiceEndpoint.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to publicEndpoint(ContainerServiceEndpoint).

      Parameters:
      publicEndpoint - a consumer that will call methods on ContainerServiceEndpoint.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.