@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeploymentModel extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
DeploymentModel() |
Modifier and Type | Method and Description |
---|---|
DeploymentModel |
clone() |
boolean |
equals(Object obj) |
String |
getDesiredState()
The desired state of the model.
|
String |
getModelHandle()
The unique handle of the model.
|
String |
getModelName()
The name of the model.
|
String |
getModelVersion()
The version of the model.
|
String |
getRollbackFailureReason()
Returns the error message if there is a rollback.
|
String |
getState()
Returns the current state of the model.
|
String |
getStatus()
Returns the deployment status of the model.
|
String |
getStatusReason()
Returns the error message for the deployment status result.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDesiredState(String desiredState)
The desired state of the model.
|
void |
setModelHandle(String modelHandle)
The unique handle of the model.
|
void |
setModelName(String modelName)
The name of the model.
|
void |
setModelVersion(String modelVersion)
The version of the model.
|
void |
setRollbackFailureReason(String rollbackFailureReason)
Returns the error message if there is a rollback.
|
void |
setState(String state)
Returns the current state of the model.
|
void |
setStatus(String status)
Returns the deployment status of the model.
|
void |
setStatusReason(String statusReason)
Returns the error message for the deployment status result.
|
String |
toString()
Returns a string representation of this object.
|
DeploymentModel |
withDesiredState(ModelState desiredState)
The desired state of the model.
|
DeploymentModel |
withDesiredState(String desiredState)
The desired state of the model.
|
DeploymentModel |
withModelHandle(String modelHandle)
The unique handle of the model.
|
DeploymentModel |
withModelName(String modelName)
The name of the model.
|
DeploymentModel |
withModelVersion(String modelVersion)
The version of the model.
|
DeploymentModel |
withRollbackFailureReason(String rollbackFailureReason)
Returns the error message if there is a rollback.
|
DeploymentModel |
withState(ModelState state)
Returns the current state of the model.
|
DeploymentModel |
withState(String state)
Returns the current state of the model.
|
DeploymentModel |
withStatus(DeploymentStatus status)
Returns the deployment status of the model.
|
DeploymentModel |
withStatus(String status)
Returns the deployment status of the model.
|
DeploymentModel |
withStatusReason(String statusReason)
Returns the error message for the deployment status result.
|
public void setModelHandle(String modelHandle)
The unique handle of the model.
modelHandle
- The unique handle of the model.public String getModelHandle()
The unique handle of the model.
public DeploymentModel withModelHandle(String modelHandle)
The unique handle of the model.
modelHandle
- The unique handle of the model.public void setModelName(String modelName)
The name of the model.
modelName
- The name of the model.public String getModelName()
The name of the model.
public DeploymentModel withModelName(String modelName)
The name of the model.
modelName
- The name of the model.public void setModelVersion(String modelVersion)
The version of the model.
modelVersion
- The version of the model.public String getModelVersion()
The version of the model.
public DeploymentModel withModelVersion(String modelVersion)
The version of the model.
modelVersion
- The version of the model.public void setDesiredState(String desiredState)
The desired state of the model.
desiredState
- The desired state of the model.ModelState
public String getDesiredState()
The desired state of the model.
ModelState
public DeploymentModel withDesiredState(String desiredState)
The desired state of the model.
desiredState
- The desired state of the model.ModelState
public DeploymentModel withDesiredState(ModelState desiredState)
The desired state of the model.
desiredState
- The desired state of the model.ModelState
public void setState(String state)
Returns the current state of the model.
state
- Returns the current state of the model.ModelState
public String getState()
Returns the current state of the model.
ModelState
public DeploymentModel withState(String state)
Returns the current state of the model.
state
- Returns the current state of the model.ModelState
public DeploymentModel withState(ModelState state)
Returns the current state of the model.
state
- Returns the current state of the model.ModelState
public void setStatus(String status)
Returns the deployment status of the model.
status
- Returns the deployment status of the model.DeploymentStatus
public String getStatus()
Returns the deployment status of the model.
DeploymentStatus
public DeploymentModel withStatus(String status)
Returns the deployment status of the model.
status
- Returns the deployment status of the model.DeploymentStatus
public DeploymentModel withStatus(DeploymentStatus status)
Returns the deployment status of the model.
status
- Returns the deployment status of the model.DeploymentStatus
public void setStatusReason(String statusReason)
Returns the error message for the deployment status result.
statusReason
- Returns the error message for the deployment status result.public String getStatusReason()
Returns the error message for the deployment status result.
public DeploymentModel withStatusReason(String statusReason)
Returns the error message for the deployment status result.
statusReason
- Returns the error message for the deployment status result.public void setRollbackFailureReason(String rollbackFailureReason)
Returns the error message if there is a rollback.
rollbackFailureReason
- Returns the error message if there is a rollback.public String getRollbackFailureReason()
Returns the error message if there is a rollback.
public DeploymentModel withRollbackFailureReason(String rollbackFailureReason)
Returns the error message if there is a rollback.
rollbackFailureReason
- Returns the error message if there is a rollback.public String toString()
toString
in class Object
Object.toString()
public DeploymentModel clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.