@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Deployment extends Object implements Serializable, Cloneable, StructuredPojo
An immutable representation of an API that can be called by users. A Deployment must be associated with a Stage for it to be callable over the internet.
Constructor and Description |
---|
Deployment() |
Modifier and Type | Method and Description |
---|---|
Deployment |
clone() |
boolean |
equals(Object obj) |
Boolean |
getAutoDeployed()
Specifies whether a deployment was automatically released.
|
Date |
getCreatedDate()
The date and time when the Deployment resource was created.
|
String |
getDeploymentId()
The identifier for the deployment.
|
String |
getDeploymentStatus()
The status of the deployment: PENDING, FAILED, or SUCCEEDED.
|
String |
getDeploymentStatusMessage()
May contain additional feedback on the status of an API deployment.
|
String |
getDescription()
The description for the deployment.
|
int |
hashCode() |
Boolean |
isAutoDeployed()
Specifies whether a deployment was automatically released.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAutoDeployed(Boolean autoDeployed)
Specifies whether a deployment was automatically released.
|
void |
setCreatedDate(Date createdDate)
The date and time when the Deployment resource was created.
|
void |
setDeploymentId(String deploymentId)
The identifier for the deployment.
|
void |
setDeploymentStatus(String deploymentStatus)
The status of the deployment: PENDING, FAILED, or SUCCEEDED.
|
void |
setDeploymentStatusMessage(String deploymentStatusMessage)
May contain additional feedback on the status of an API deployment.
|
void |
setDescription(String description)
The description for the deployment.
|
String |
toString()
Returns a string representation of this object.
|
Deployment |
withAutoDeployed(Boolean autoDeployed)
Specifies whether a deployment was automatically released.
|
Deployment |
withCreatedDate(Date createdDate)
The date and time when the Deployment resource was created.
|
Deployment |
withDeploymentId(String deploymentId)
The identifier for the deployment.
|
Deployment |
withDeploymentStatus(DeploymentStatus deploymentStatus)
The status of the deployment: PENDING, FAILED, or SUCCEEDED.
|
Deployment |
withDeploymentStatus(String deploymentStatus)
The status of the deployment: PENDING, FAILED, or SUCCEEDED.
|
Deployment |
withDeploymentStatusMessage(String deploymentStatusMessage)
May contain additional feedback on the status of an API deployment.
|
Deployment |
withDescription(String description)
The description for the deployment.
|
public void setAutoDeployed(Boolean autoDeployed)
Specifies whether a deployment was automatically released.
autoDeployed
- Specifies whether a deployment was automatically released.public Boolean getAutoDeployed()
Specifies whether a deployment was automatically released.
public Deployment withAutoDeployed(Boolean autoDeployed)
Specifies whether a deployment was automatically released.
autoDeployed
- Specifies whether a deployment was automatically released.public Boolean isAutoDeployed()
Specifies whether a deployment was automatically released.
public void setCreatedDate(Date createdDate)
The date and time when the Deployment resource was created.
createdDate
- The date and time when the Deployment resource was created.public Date getCreatedDate()
The date and time when the Deployment resource was created.
public Deployment withCreatedDate(Date createdDate)
The date and time when the Deployment resource was created.
createdDate
- The date and time when the Deployment resource was created.public void setDeploymentId(String deploymentId)
The identifier for the deployment.
deploymentId
- The identifier for the deployment.public String getDeploymentId()
The identifier for the deployment.
public Deployment withDeploymentId(String deploymentId)
The identifier for the deployment.
deploymentId
- The identifier for the deployment.public void setDeploymentStatus(String deploymentStatus)
The status of the deployment: PENDING, FAILED, or SUCCEEDED.
deploymentStatus
- The status of the deployment: PENDING, FAILED, or SUCCEEDED.DeploymentStatus
public String getDeploymentStatus()
The status of the deployment: PENDING, FAILED, or SUCCEEDED.
DeploymentStatus
public Deployment withDeploymentStatus(String deploymentStatus)
The status of the deployment: PENDING, FAILED, or SUCCEEDED.
deploymentStatus
- The status of the deployment: PENDING, FAILED, or SUCCEEDED.DeploymentStatus
public Deployment withDeploymentStatus(DeploymentStatus deploymentStatus)
The status of the deployment: PENDING, FAILED, or SUCCEEDED.
deploymentStatus
- The status of the deployment: PENDING, FAILED, or SUCCEEDED.DeploymentStatus
public void setDeploymentStatusMessage(String deploymentStatusMessage)
May contain additional feedback on the status of an API deployment.
deploymentStatusMessage
- May contain additional feedback on the status of an API deployment.public String getDeploymentStatusMessage()
May contain additional feedback on the status of an API deployment.
public Deployment withDeploymentStatusMessage(String deploymentStatusMessage)
May contain additional feedback on the status of an API deployment.
deploymentStatusMessage
- May contain additional feedback on the status of an API deployment.public void setDescription(String description)
The description for the deployment.
description
- The description for the deployment.public String getDescription()
The description for the deployment.
public Deployment withDescription(String description)
The description for the deployment.
description
- The description for the deployment.public String toString()
toString
in class Object
Object.toString()
public Deployment clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.