@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ServiceInstance extends Object implements Serializable, Cloneable, StructuredPojo
Detailed data of an Proton service instance resource.
Constructor and Description |
---|
ServiceInstance() |
Modifier and Type | Method and Description |
---|---|
ServiceInstance |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) of the service instance.
|
Date |
getCreatedAt()
The time when the service instance was created.
|
String |
getDeploymentStatus()
The service instance deployment status.
|
String |
getDeploymentStatusMessage()
The message associated with the service instance deployment status.
|
String |
getEnvironmentName()
The name of the environment that the service instance was deployed into.
|
String |
getLastAttemptedDeploymentId()
The ID of the last attempted deployment of this service instance.
|
String |
getLastClientRequestToken()
The last client request token received.
|
Date |
getLastDeploymentAttemptedAt()
The time when a deployment of the service instance was last attempted.
|
Date |
getLastDeploymentSucceededAt()
The time when the service instance was last deployed successfully.
|
String |
getLastSucceededDeploymentId()
The ID of the last successful deployment of this service instance.
|
String |
getName()
The name of the service instance.
|
String |
getServiceName()
The name of the service that the service instance belongs to.
|
String |
getSpec()
The service spec that was used to create the service instance.
|
String |
getTemplateMajorVersion()
The major version of the service template that was used to create the service instance.
|
String |
getTemplateMinorVersion()
The minor version of the service template that was used to create the service instance.
|
String |
getTemplateName()
The name of the service template that was used to create the service instance.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The Amazon Resource Name (ARN) of the service instance.
|
void |
setCreatedAt(Date createdAt)
The time when the service instance was created.
|
void |
setDeploymentStatus(String deploymentStatus)
The service instance deployment status.
|
void |
setDeploymentStatusMessage(String deploymentStatusMessage)
The message associated with the service instance deployment status.
|
void |
setEnvironmentName(String environmentName)
The name of the environment that the service instance was deployed into.
|
void |
setLastAttemptedDeploymentId(String lastAttemptedDeploymentId)
The ID of the last attempted deployment of this service instance.
|
void |
setLastClientRequestToken(String lastClientRequestToken)
The last client request token received.
|
void |
setLastDeploymentAttemptedAt(Date lastDeploymentAttemptedAt)
The time when a deployment of the service instance was last attempted.
|
void |
setLastDeploymentSucceededAt(Date lastDeploymentSucceededAt)
The time when the service instance was last deployed successfully.
|
void |
setLastSucceededDeploymentId(String lastSucceededDeploymentId)
The ID of the last successful deployment of this service instance.
|
void |
setName(String name)
The name of the service instance.
|
void |
setServiceName(String serviceName)
The name of the service that the service instance belongs to.
|
void |
setSpec(String spec)
The service spec that was used to create the service instance.
|
void |
setTemplateMajorVersion(String templateMajorVersion)
The major version of the service template that was used to create the service instance.
|
void |
setTemplateMinorVersion(String templateMinorVersion)
The minor version of the service template that was used to create the service instance.
|
void |
setTemplateName(String templateName)
The name of the service template that was used to create the service instance.
|
String |
toString()
Returns a string representation of this object.
|
ServiceInstance |
withArn(String arn)
The Amazon Resource Name (ARN) of the service instance.
|
ServiceInstance |
withCreatedAt(Date createdAt)
The time when the service instance was created.
|
ServiceInstance |
withDeploymentStatus(DeploymentStatus deploymentStatus)
The service instance deployment status.
|
ServiceInstance |
withDeploymentStatus(String deploymentStatus)
The service instance deployment status.
|
ServiceInstance |
withDeploymentStatusMessage(String deploymentStatusMessage)
The message associated with the service instance deployment status.
|
ServiceInstance |
withEnvironmentName(String environmentName)
The name of the environment that the service instance was deployed into.
|
ServiceInstance |
withLastAttemptedDeploymentId(String lastAttemptedDeploymentId)
The ID of the last attempted deployment of this service instance.
|
ServiceInstance |
withLastClientRequestToken(String lastClientRequestToken)
The last client request token received.
|
ServiceInstance |
withLastDeploymentAttemptedAt(Date lastDeploymentAttemptedAt)
The time when a deployment of the service instance was last attempted.
|
ServiceInstance |
withLastDeploymentSucceededAt(Date lastDeploymentSucceededAt)
The time when the service instance was last deployed successfully.
|
ServiceInstance |
withLastSucceededDeploymentId(String lastSucceededDeploymentId)
The ID of the last successful deployment of this service instance.
|
ServiceInstance |
withName(String name)
The name of the service instance.
|
ServiceInstance |
withServiceName(String serviceName)
The name of the service that the service instance belongs to.
|
ServiceInstance |
withSpec(String spec)
The service spec that was used to create the service instance.
|
ServiceInstance |
withTemplateMajorVersion(String templateMajorVersion)
The major version of the service template that was used to create the service instance.
|
ServiceInstance |
withTemplateMinorVersion(String templateMinorVersion)
The minor version of the service template that was used to create the service instance.
|
ServiceInstance |
withTemplateName(String templateName)
The name of the service template that was used to create the service instance.
|
public void setArn(String arn)
The Amazon Resource Name (ARN) of the service instance.
arn
- The Amazon Resource Name (ARN) of the service instance.public String getArn()
The Amazon Resource Name (ARN) of the service instance.
public ServiceInstance withArn(String arn)
The Amazon Resource Name (ARN) of the service instance.
arn
- The Amazon Resource Name (ARN) of the service instance.public void setCreatedAt(Date createdAt)
The time when the service instance was created.
createdAt
- The time when the service instance was created.public Date getCreatedAt()
The time when the service instance was created.
public ServiceInstance withCreatedAt(Date createdAt)
The time when the service instance was created.
createdAt
- The time when the service instance was created.public void setDeploymentStatus(String deploymentStatus)
The service instance deployment status.
deploymentStatus
- The service instance deployment status.DeploymentStatus
public String getDeploymentStatus()
The service instance deployment status.
DeploymentStatus
public ServiceInstance withDeploymentStatus(String deploymentStatus)
The service instance deployment status.
deploymentStatus
- The service instance deployment status.DeploymentStatus
public ServiceInstance withDeploymentStatus(DeploymentStatus deploymentStatus)
The service instance deployment status.
deploymentStatus
- The service instance deployment status.DeploymentStatus
public void setDeploymentStatusMessage(String deploymentStatusMessage)
The message associated with the service instance deployment status.
deploymentStatusMessage
- The message associated with the service instance deployment status.public String getDeploymentStatusMessage()
The message associated with the service instance deployment status.
public ServiceInstance withDeploymentStatusMessage(String deploymentStatusMessage)
The message associated with the service instance deployment status.
deploymentStatusMessage
- The message associated with the service instance deployment status.public void setEnvironmentName(String environmentName)
The name of the environment that the service instance was deployed into.
environmentName
- The name of the environment that the service instance was deployed into.public String getEnvironmentName()
The name of the environment that the service instance was deployed into.
public ServiceInstance withEnvironmentName(String environmentName)
The name of the environment that the service instance was deployed into.
environmentName
- The name of the environment that the service instance was deployed into.public void setLastAttemptedDeploymentId(String lastAttemptedDeploymentId)
The ID of the last attempted deployment of this service instance.
lastAttemptedDeploymentId
- The ID of the last attempted deployment of this service instance.public String getLastAttemptedDeploymentId()
The ID of the last attempted deployment of this service instance.
public ServiceInstance withLastAttemptedDeploymentId(String lastAttemptedDeploymentId)
The ID of the last attempted deployment of this service instance.
lastAttemptedDeploymentId
- The ID of the last attempted deployment of this service instance.public void setLastClientRequestToken(String lastClientRequestToken)
The last client request token received.
lastClientRequestToken
- The last client request token received.public String getLastClientRequestToken()
The last client request token received.
public ServiceInstance withLastClientRequestToken(String lastClientRequestToken)
The last client request token received.
lastClientRequestToken
- The last client request token received.public void setLastDeploymentAttemptedAt(Date lastDeploymentAttemptedAt)
The time when a deployment of the service instance was last attempted.
lastDeploymentAttemptedAt
- The time when a deployment of the service instance was last attempted.public Date getLastDeploymentAttemptedAt()
The time when a deployment of the service instance was last attempted.
public ServiceInstance withLastDeploymentAttemptedAt(Date lastDeploymentAttemptedAt)
The time when a deployment of the service instance was last attempted.
lastDeploymentAttemptedAt
- The time when a deployment of the service instance was last attempted.public void setLastDeploymentSucceededAt(Date lastDeploymentSucceededAt)
The time when the service instance was last deployed successfully.
lastDeploymentSucceededAt
- The time when the service instance was last deployed successfully.public Date getLastDeploymentSucceededAt()
The time when the service instance was last deployed successfully.
public ServiceInstance withLastDeploymentSucceededAt(Date lastDeploymentSucceededAt)
The time when the service instance was last deployed successfully.
lastDeploymentSucceededAt
- The time when the service instance was last deployed successfully.public void setLastSucceededDeploymentId(String lastSucceededDeploymentId)
The ID of the last successful deployment of this service instance.
lastSucceededDeploymentId
- The ID of the last successful deployment of this service instance.public String getLastSucceededDeploymentId()
The ID of the last successful deployment of this service instance.
public ServiceInstance withLastSucceededDeploymentId(String lastSucceededDeploymentId)
The ID of the last successful deployment of this service instance.
lastSucceededDeploymentId
- The ID of the last successful deployment of this service instance.public void setName(String name)
The name of the service instance.
name
- The name of the service instance.public String getName()
The name of the service instance.
public ServiceInstance withName(String name)
The name of the service instance.
name
- The name of the service instance.public void setServiceName(String serviceName)
The name of the service that the service instance belongs to.
serviceName
- The name of the service that the service instance belongs to.public String getServiceName()
The name of the service that the service instance belongs to.
public ServiceInstance withServiceName(String serviceName)
The name of the service that the service instance belongs to.
serviceName
- The name of the service that the service instance belongs to.public void setSpec(String spec)
The service spec that was used to create the service instance.
spec
- The service spec that was used to create the service instance.public String getSpec()
The service spec that was used to create the service instance.
public ServiceInstance withSpec(String spec)
The service spec that was used to create the service instance.
spec
- The service spec that was used to create the service instance.public void setTemplateMajorVersion(String templateMajorVersion)
The major version of the service template that was used to create the service instance.
templateMajorVersion
- The major version of the service template that was used to create the service instance.public String getTemplateMajorVersion()
The major version of the service template that was used to create the service instance.
public ServiceInstance withTemplateMajorVersion(String templateMajorVersion)
The major version of the service template that was used to create the service instance.
templateMajorVersion
- The major version of the service template that was used to create the service instance.public void setTemplateMinorVersion(String templateMinorVersion)
The minor version of the service template that was used to create the service instance.
templateMinorVersion
- The minor version of the service template that was used to create the service instance.public String getTemplateMinorVersion()
The minor version of the service template that was used to create the service instance.
public ServiceInstance withTemplateMinorVersion(String templateMinorVersion)
The minor version of the service template that was used to create the service instance.
templateMinorVersion
- The minor version of the service template that was used to create the service instance.public void setTemplateName(String templateName)
The name of the service template that was used to create the service instance.
templateName
- The name of the service template that was used to create the service instance.public String getTemplateName()
The name of the service template that was used to create the service instance.
public ServiceInstance withTemplateName(String templateName)
The name of the service template that was used to create the service instance.
templateName
- The name of the service template that was used to create the service instance.public String toString()
toString
in class Object
Object.toString()
public ServiceInstance clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.