Interface Deployment.Builder

All Superinterfaces:
Buildable, CopyableBuilder<Deployment.Builder,Deployment>, SdkBuilder<Deployment.Builder,Deployment>, SdkPojo
Enclosing class:
Deployment

public static interface Deployment.Builder extends SdkPojo, CopyableBuilder<Deployment.Builder,Deployment>
  • Method Details

    • arn

      The Amazon Resource Name (ARN) of the deployment.

      Parameters:
      arn - The Amazon Resource Name (ARN) of the deployment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • completedAt

      Deployment.Builder completedAt(Instant completedAt)

      The date and time the deployment was completed.

      Parameters:
      completedAt - The date and time the deployment was completed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • componentName

      Deployment.Builder componentName(String componentName)

      The name of the component associated with this deployment.

      Parameters:
      componentName - The name of the component associated with this deployment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdAt

      Deployment.Builder createdAt(Instant createdAt)

      The date and time the deployment was created.

      Parameters:
      createdAt - The date and time the deployment was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • deploymentStatus

      Deployment.Builder deploymentStatus(String deploymentStatus)

      The status of the deployment.

      Parameters:
      deploymentStatus - The status of the deployment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • deploymentStatus

      Deployment.Builder deploymentStatus(DeploymentStatus deploymentStatus)

      The status of the deployment.

      Parameters:
      deploymentStatus - The status of the deployment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • deploymentStatusMessage

      Deployment.Builder deploymentStatusMessage(String deploymentStatusMessage)

      The deployment status message.

      Parameters:
      deploymentStatusMessage - The deployment status message.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • environmentName

      Deployment.Builder environmentName(String environmentName)

      The name of the environment associated with this deployment.

      Parameters:
      environmentName - The name of the environment associated with this deployment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • id

      The ID of the deployment.

      Parameters:
      id - The ID of the deployment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • initialState

      Deployment.Builder initialState(DeploymentState initialState)

      The initial state of the target resource at the time of the deployment.

      Parameters:
      initialState - The initial state of the target resource at the time of the deployment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • initialState

      default Deployment.Builder initialState(Consumer<DeploymentState.Builder> initialState)

      The initial state of the target resource at the time of the deployment.

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

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

      Parameters:
      initialState - a consumer that will call methods on DeploymentState.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • lastAttemptedDeploymentId

      Deployment.Builder lastAttemptedDeploymentId(String lastAttemptedDeploymentId)

      The ID of the last attempted deployment.

      Parameters:
      lastAttemptedDeploymentId - The ID of the last attempted deployment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastModifiedAt

      Deployment.Builder lastModifiedAt(Instant lastModifiedAt)

      The date and time the deployment was last modified.

      Parameters:
      lastModifiedAt - The date and time the deployment was last modified.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastSucceededDeploymentId

      Deployment.Builder lastSucceededDeploymentId(String lastSucceededDeploymentId)

      The ID of the last successful deployment.

      Parameters:
      lastSucceededDeploymentId - The ID of the last successful deployment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • serviceInstanceName

      Deployment.Builder serviceInstanceName(String serviceInstanceName)

      The name of the deployment's service instance.

      Parameters:
      serviceInstanceName - The name of the deployment's service instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • serviceName

      Deployment.Builder serviceName(String serviceName)

      The name of the service in this deployment.

      Parameters:
      serviceName - The name of the service in this deployment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • targetArn

      Deployment.Builder targetArn(String targetArn)

      The Amazon Resource Name (ARN) of the target of the deployment.

      Parameters:
      targetArn - The Amazon Resource Name (ARN) of the target of the deployment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • targetResourceCreatedAt

      Deployment.Builder targetResourceCreatedAt(Instant targetResourceCreatedAt)

      The date and time the depoyment target was created.

      Parameters:
      targetResourceCreatedAt - The date and time the depoyment target was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • targetResourceType

      Deployment.Builder targetResourceType(String targetResourceType)

      The resource type of the deployment target. It can be an environment, service, service instance, or component.

      Parameters:
      targetResourceType - The resource type of the deployment target. It can be an environment, service, service instance, or component.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • targetResourceType

      Deployment.Builder targetResourceType(DeploymentTargetResourceType targetResourceType)

      The resource type of the deployment target. It can be an environment, service, service instance, or component.

      Parameters:
      targetResourceType - The resource type of the deployment target. It can be an environment, service, service instance, or component.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • targetState

      Deployment.Builder targetState(DeploymentState targetState)

      The target state of the target resource at the time of the deployment.

      Parameters:
      targetState - The target state of the target resource at the time of the deployment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • targetState

      default Deployment.Builder targetState(Consumer<DeploymentState.Builder> targetState)

      The target state of the target resource at the time of the deployment.

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

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

      Parameters:
      targetState - a consumer that will call methods on DeploymentState.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: