Class CreateDeploymentResult

java.lang.Object
com.amazonaws.services.opsworks.model.CreateDeploymentResult
All Implemented Interfaces:
Serializable, Cloneable

public class CreateDeploymentResult extends Object implements Serializable, Cloneable

Contains the response to a CreateDeployment request.

See Also:
  • Constructor Details

    • CreateDeploymentResult

      public CreateDeploymentResult()
  • Method Details

    • setDeploymentId

      public void setDeploymentId(String deploymentId)

      The deployment ID, which can be used with other requests to identify the deployment.

      Parameters:
      deploymentId - The deployment ID, which can be used with other requests to identify the deployment.
    • getDeploymentId

      public String getDeploymentId()

      The deployment ID, which can be used with other requests to identify the deployment.

      Returns:
      The deployment ID, which can be used with other requests to identify the deployment.
    • withDeploymentId

      public CreateDeploymentResult withDeploymentId(String deploymentId)

      The deployment ID, which can be used with other requests to identify the deployment.

      Parameters:
      deploymentId - The deployment ID, which can be used with other requests to identify the deployment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • toString

      public String toString()
      Returns a string representation of this object; useful for testing and debugging.
      Overrides:
      toString in class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public CreateDeploymentResult clone()
      Overrides:
      clone in class Object