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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CreateDeploymentResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateDeploymentResult
clone()
boolean
equals(Object obj)
String
getDeploymentId()
The deployment ID, which can be used with other requests to identify the deployment.int
hashCode()
void
setDeploymentId(String deploymentId)
The deployment ID, which can be used with other requests to identify the deployment.String
toString()
Returns a string representation of this object; useful for testing and debugging.CreateDeploymentResult
withDeploymentId(String deploymentId)
The deployment ID, which can be used with other requests to identify the deployment.
-
-
-
Method Detail
-
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 classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public CreateDeploymentResult clone()
-
-