@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ServiceInstanceState extends Object implements Serializable, Cloneable, StructuredPojo
The detailed data about the current state of this service instance.
Constructor and Description |
---|
ServiceInstanceState() |
Modifier and Type | Method and Description |
---|---|
ServiceInstanceState |
clone() |
boolean |
equals(Object obj) |
List<String> |
getLastSuccessfulComponentDeploymentIds()
The IDs for the last successful components deployed for this service instance.
|
String |
getLastSuccessfulEnvironmentDeploymentId()
The ID for the last successful environment deployed for this service instance.
|
String |
getLastSuccessfulServicePipelineDeploymentId()
The ID for the last successful service pipeline deployed for this service instance.
|
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 pipeline.
|
String |
getTemplateMinorVersion()
The minor version of the service template that was used to create the service pipeline.
|
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 |
setLastSuccessfulComponentDeploymentIds(Collection<String> lastSuccessfulComponentDeploymentIds)
The IDs for the last successful components deployed for this service instance.
|
void |
setLastSuccessfulEnvironmentDeploymentId(String lastSuccessfulEnvironmentDeploymentId)
The ID for the last successful environment deployed for this service instance.
|
void |
setLastSuccessfulServicePipelineDeploymentId(String lastSuccessfulServicePipelineDeploymentId)
The ID for the last successful service pipeline deployed for this service instance.
|
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 pipeline.
|
void |
setTemplateMinorVersion(String templateMinorVersion)
The minor version of the service template that was used to create the service pipeline.
|
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.
|
ServiceInstanceState |
withLastSuccessfulComponentDeploymentIds(Collection<String> lastSuccessfulComponentDeploymentIds)
The IDs for the last successful components deployed for this service instance.
|
ServiceInstanceState |
withLastSuccessfulComponentDeploymentIds(String... lastSuccessfulComponentDeploymentIds)
The IDs for the last successful components deployed for this service instance.
|
ServiceInstanceState |
withLastSuccessfulEnvironmentDeploymentId(String lastSuccessfulEnvironmentDeploymentId)
The ID for the last successful environment deployed for this service instance.
|
ServiceInstanceState |
withLastSuccessfulServicePipelineDeploymentId(String lastSuccessfulServicePipelineDeploymentId)
The ID for the last successful service pipeline deployed for this service instance.
|
ServiceInstanceState |
withSpec(String spec)
The service spec that was used to create the service instance.
|
ServiceInstanceState |
withTemplateMajorVersion(String templateMajorVersion)
The major version of the service template that was used to create the service pipeline.
|
ServiceInstanceState |
withTemplateMinorVersion(String templateMinorVersion)
The minor version of the service template that was used to create the service pipeline.
|
ServiceInstanceState |
withTemplateName(String templateName)
The name of the service template that was used to create the service instance.
|
public List<String> getLastSuccessfulComponentDeploymentIds()
The IDs for the last successful components deployed for this service instance.
public void setLastSuccessfulComponentDeploymentIds(Collection<String> lastSuccessfulComponentDeploymentIds)
The IDs for the last successful components deployed for this service instance.
lastSuccessfulComponentDeploymentIds
- The IDs for the last successful components deployed for this service instance.public ServiceInstanceState withLastSuccessfulComponentDeploymentIds(String... lastSuccessfulComponentDeploymentIds)
The IDs for the last successful components deployed for this service instance.
NOTE: This method appends the values to the existing list (if any). Use
setLastSuccessfulComponentDeploymentIds(java.util.Collection)
or
withLastSuccessfulComponentDeploymentIds(java.util.Collection)
if you want to override the existing
values.
lastSuccessfulComponentDeploymentIds
- The IDs for the last successful components deployed for this service instance.public ServiceInstanceState withLastSuccessfulComponentDeploymentIds(Collection<String> lastSuccessfulComponentDeploymentIds)
The IDs for the last successful components deployed for this service instance.
lastSuccessfulComponentDeploymentIds
- The IDs for the last successful components deployed for this service instance.public void setLastSuccessfulEnvironmentDeploymentId(String lastSuccessfulEnvironmentDeploymentId)
The ID for the last successful environment deployed for this service instance.
lastSuccessfulEnvironmentDeploymentId
- The ID for the last successful environment deployed for this service instance.public String getLastSuccessfulEnvironmentDeploymentId()
The ID for the last successful environment deployed for this service instance.
public ServiceInstanceState withLastSuccessfulEnvironmentDeploymentId(String lastSuccessfulEnvironmentDeploymentId)
The ID for the last successful environment deployed for this service instance.
lastSuccessfulEnvironmentDeploymentId
- The ID for the last successful environment deployed for this service instance.public void setLastSuccessfulServicePipelineDeploymentId(String lastSuccessfulServicePipelineDeploymentId)
The ID for the last successful service pipeline deployed for this service instance.
lastSuccessfulServicePipelineDeploymentId
- The ID for the last successful service pipeline deployed for this service instance.public String getLastSuccessfulServicePipelineDeploymentId()
The ID for the last successful service pipeline deployed for this service instance.
public ServiceInstanceState withLastSuccessfulServicePipelineDeploymentId(String lastSuccessfulServicePipelineDeploymentId)
The ID for the last successful service pipeline deployed for this service instance.
lastSuccessfulServicePipelineDeploymentId
- The ID for the last successful service pipeline deployed for this service instance.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 ServiceInstanceState 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 pipeline.
templateMajorVersion
- The major version of the service template that was used to create the service pipeline.public String getTemplateMajorVersion()
The major version of the service template that was used to create the service pipeline.
public ServiceInstanceState withTemplateMajorVersion(String templateMajorVersion)
The major version of the service template that was used to create the service pipeline.
templateMajorVersion
- The major version of the service template that was used to create the service pipeline.public void setTemplateMinorVersion(String templateMinorVersion)
The minor version of the service template that was used to create the service pipeline.
templateMinorVersion
- The minor version of the service template that was used to create the service pipeline.public String getTemplateMinorVersion()
The minor version of the service template that was used to create the service pipeline.
public ServiceInstanceState withTemplateMinorVersion(String templateMinorVersion)
The minor version of the service template that was used to create the service pipeline.
templateMinorVersion
- The minor version of the service template that was used to create the service pipeline.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 ServiceInstanceState 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 ServiceInstanceState clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.