@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ServiceInstance extends Object implements Serializable, Cloneable, StructuredPojo
The service instance detail data.
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()
A service instance deployment status message.
|
String |
getEnvironmentName()
The name of the environment that the service instance was deployed into.
|
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 |
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 ID of the major version of the service template that was used to create the service instance.
|
String |
getTemplateMinorVersion()
The ID of 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)
A service instance deployment status message.
|
void |
setEnvironmentName(String environmentName)
The name of the environment that the service instance was deployed into.
|
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 |
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 ID of the major version of the service template that was used to create the service instance.
|
void |
setTemplateMinorVersion(String templateMinorVersion)
The ID of 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)
A service instance deployment status message.
|
ServiceInstance |
withEnvironmentName(String environmentName)
The name of the environment that the service instance was deployed into.
|
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 |
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 ID of the major version of the service template that was used to create the service instance.
|
ServiceInstance |
withTemplateMinorVersion(String templateMinorVersion)
The ID of 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)
A service instance deployment status message.
deploymentStatusMessage
- A service instance deployment status message.public String getDeploymentStatusMessage()
A service instance deployment status message.
public ServiceInstance withDeploymentStatusMessage(String deploymentStatusMessage)
A service instance deployment status message.
deploymentStatusMessage
- A service instance deployment status message.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 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 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 ID of the major version of the service template that was used to create the service instance.
templateMajorVersion
- The ID of the major version of the service template that was used to create the service instance.public String getTemplateMajorVersion()
The ID of the major version of the service template that was used to create the service instance.
public ServiceInstance withTemplateMajorVersion(String templateMajorVersion)
The ID of the major version of the service template that was used to create the service instance.
templateMajorVersion
- The ID of the major version of the service template that was used to create the service instance.public void setTemplateMinorVersion(String templateMinorVersion)
The ID of the minor version of the service template that was used to create the service instance.
templateMinorVersion
- The ID of the minor version of the service template that was used to create the service instance.public String getTemplateMinorVersion()
The ID of the minor version of the service template that was used to create the service instance.
public ServiceInstance withTemplateMinorVersion(String templateMinorVersion)
The ID of the minor version of the service template that was used to create the service instance.
templateMinorVersion
- The ID of 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.