@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ServiceTemplateVersion extends Object implements Serializable, Cloneable, StructuredPojo
Detailed data of an Proton service template version resource.
Constructor and Description |
---|
ServiceTemplateVersion() |
Modifier and Type | Method and Description |
---|---|
ServiceTemplateVersion |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) of the version of a service template.
|
List<CompatibleEnvironmentTemplate> |
getCompatibleEnvironmentTemplates()
An array of compatible environment template names for the major version of a service template.
|
Date |
getCreatedAt()
The time when the version of a service template was created.
|
String |
getDescription()
A description of the version of a service template.
|
Date |
getLastModifiedAt()
The time when the version of a service template was last modified.
|
String |
getMajorVersion()
The latest major version that's associated with the version of a service template.
|
String |
getMinorVersion()
The minor version of a service template.
|
String |
getRecommendedMinorVersion()
The recommended minor version of the service template.
|
String |
getSchema()
The schema of the version of a service template.
|
String |
getStatus()
The service template version status.
|
String |
getStatusMessage()
A service template version status message.
|
List<String> |
getSupportedComponentSources()
An array of supported component sources.
|
String |
getTemplateName()
The name of the version of a service template.
|
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 version of a service template.
|
void |
setCompatibleEnvironmentTemplates(Collection<CompatibleEnvironmentTemplate> compatibleEnvironmentTemplates)
An array of compatible environment template names for the major version of a service template.
|
void |
setCreatedAt(Date createdAt)
The time when the version of a service template was created.
|
void |
setDescription(String description)
A description of the version of a service template.
|
void |
setLastModifiedAt(Date lastModifiedAt)
The time when the version of a service template was last modified.
|
void |
setMajorVersion(String majorVersion)
The latest major version that's associated with the version of a service template.
|
void |
setMinorVersion(String minorVersion)
The minor version of a service template.
|
void |
setRecommendedMinorVersion(String recommendedMinorVersion)
The recommended minor version of the service template.
|
void |
setSchema(String schema)
The schema of the version of a service template.
|
void |
setStatus(String status)
The service template version status.
|
void |
setStatusMessage(String statusMessage)
A service template version status message.
|
void |
setSupportedComponentSources(Collection<String> supportedComponentSources)
An array of supported component sources.
|
void |
setTemplateName(String templateName)
The name of the version of a service template.
|
String |
toString()
Returns a string representation of this object.
|
ServiceTemplateVersion |
withArn(String arn)
The Amazon Resource Name (ARN) of the version of a service template.
|
ServiceTemplateVersion |
withCompatibleEnvironmentTemplates(Collection<CompatibleEnvironmentTemplate> compatibleEnvironmentTemplates)
An array of compatible environment template names for the major version of a service template.
|
ServiceTemplateVersion |
withCompatibleEnvironmentTemplates(CompatibleEnvironmentTemplate... compatibleEnvironmentTemplates)
An array of compatible environment template names for the major version of a service template.
|
ServiceTemplateVersion |
withCreatedAt(Date createdAt)
The time when the version of a service template was created.
|
ServiceTemplateVersion |
withDescription(String description)
A description of the version of a service template.
|
ServiceTemplateVersion |
withLastModifiedAt(Date lastModifiedAt)
The time when the version of a service template was last modified.
|
ServiceTemplateVersion |
withMajorVersion(String majorVersion)
The latest major version that's associated with the version of a service template.
|
ServiceTemplateVersion |
withMinorVersion(String minorVersion)
The minor version of a service template.
|
ServiceTemplateVersion |
withRecommendedMinorVersion(String recommendedMinorVersion)
The recommended minor version of the service template.
|
ServiceTemplateVersion |
withSchema(String schema)
The schema of the version of a service template.
|
ServiceTemplateVersion |
withStatus(String status)
The service template version status.
|
ServiceTemplateVersion |
withStatus(TemplateVersionStatus status)
The service template version status.
|
ServiceTemplateVersion |
withStatusMessage(String statusMessage)
A service template version status message.
|
ServiceTemplateVersion |
withSupportedComponentSources(Collection<String> supportedComponentSources)
An array of supported component sources.
|
ServiceTemplateVersion |
withSupportedComponentSources(ServiceTemplateSupportedComponentSourceType... supportedComponentSources)
An array of supported component sources.
|
ServiceTemplateVersion |
withSupportedComponentSources(String... supportedComponentSources)
An array of supported component sources.
|
ServiceTemplateVersion |
withTemplateName(String templateName)
The name of the version of a service template.
|
public void setArn(String arn)
The Amazon Resource Name (ARN) of the version of a service template.
arn
- The Amazon Resource Name (ARN) of the version of a service template.public String getArn()
The Amazon Resource Name (ARN) of the version of a service template.
public ServiceTemplateVersion withArn(String arn)
The Amazon Resource Name (ARN) of the version of a service template.
arn
- The Amazon Resource Name (ARN) of the version of a service template.public List<CompatibleEnvironmentTemplate> getCompatibleEnvironmentTemplates()
An array of compatible environment template names for the major version of a service template.
public void setCompatibleEnvironmentTemplates(Collection<CompatibleEnvironmentTemplate> compatibleEnvironmentTemplates)
An array of compatible environment template names for the major version of a service template.
compatibleEnvironmentTemplates
- An array of compatible environment template names for the major version of a service template.public ServiceTemplateVersion withCompatibleEnvironmentTemplates(CompatibleEnvironmentTemplate... compatibleEnvironmentTemplates)
An array of compatible environment template names for the major version of a service template.
NOTE: This method appends the values to the existing list (if any). Use
setCompatibleEnvironmentTemplates(java.util.Collection)
or
withCompatibleEnvironmentTemplates(java.util.Collection)
if you want to override the existing values.
compatibleEnvironmentTemplates
- An array of compatible environment template names for the major version of a service template.public ServiceTemplateVersion withCompatibleEnvironmentTemplates(Collection<CompatibleEnvironmentTemplate> compatibleEnvironmentTemplates)
An array of compatible environment template names for the major version of a service template.
compatibleEnvironmentTemplates
- An array of compatible environment template names for the major version of a service template.public void setCreatedAt(Date createdAt)
The time when the version of a service template was created.
createdAt
- The time when the version of a service template was created.public Date getCreatedAt()
The time when the version of a service template was created.
public ServiceTemplateVersion withCreatedAt(Date createdAt)
The time when the version of a service template was created.
createdAt
- The time when the version of a service template was created.public void setDescription(String description)
A description of the version of a service template.
description
- A description of the version of a service template.public String getDescription()
A description of the version of a service template.
public ServiceTemplateVersion withDescription(String description)
A description of the version of a service template.
description
- A description of the version of a service template.public void setLastModifiedAt(Date lastModifiedAt)
The time when the version of a service template was last modified.
lastModifiedAt
- The time when the version of a service template was last modified.public Date getLastModifiedAt()
The time when the version of a service template was last modified.
public ServiceTemplateVersion withLastModifiedAt(Date lastModifiedAt)
The time when the version of a service template was last modified.
lastModifiedAt
- The time when the version of a service template was last modified.public void setMajorVersion(String majorVersion)
The latest major version that's associated with the version of a service template.
majorVersion
- The latest major version that's associated with the version of a service template.public String getMajorVersion()
The latest major version that's associated with the version of a service template.
public ServiceTemplateVersion withMajorVersion(String majorVersion)
The latest major version that's associated with the version of a service template.
majorVersion
- The latest major version that's associated with the version of a service template.public void setMinorVersion(String minorVersion)
The minor version of a service template.
minorVersion
- The minor version of a service template.public String getMinorVersion()
The minor version of a service template.
public ServiceTemplateVersion withMinorVersion(String minorVersion)
The minor version of a service template.
minorVersion
- The minor version of a service template.public void setRecommendedMinorVersion(String recommendedMinorVersion)
The recommended minor version of the service template.
recommendedMinorVersion
- The recommended minor version of the service template.public String getRecommendedMinorVersion()
The recommended minor version of the service template.
public ServiceTemplateVersion withRecommendedMinorVersion(String recommendedMinorVersion)
The recommended minor version of the service template.
recommendedMinorVersion
- The recommended minor version of the service template.public void setSchema(String schema)
The schema of the version of a service template.
schema
- The schema of the version of a service template.public String getSchema()
The schema of the version of a service template.
public ServiceTemplateVersion withSchema(String schema)
The schema of the version of a service template.
schema
- The schema of the version of a service template.public void setStatus(String status)
The service template version status.
status
- The service template version status.TemplateVersionStatus
public String getStatus()
The service template version status.
TemplateVersionStatus
public ServiceTemplateVersion withStatus(String status)
The service template version status.
status
- The service template version status.TemplateVersionStatus
public ServiceTemplateVersion withStatus(TemplateVersionStatus status)
The service template version status.
status
- The service template version status.TemplateVersionStatus
public void setStatusMessage(String statusMessage)
A service template version status message.
statusMessage
- A service template version status message.public String getStatusMessage()
A service template version status message.
public ServiceTemplateVersion withStatusMessage(String statusMessage)
A service template version status message.
statusMessage
- A service template version status message.public List<String> getSupportedComponentSources()
An array of supported component sources. Components with supported sources can be attached to service instances based on this service template version.
For more information about components, see Proton components in the Proton User Guide.
For more information about components, see Proton components in the Proton User Guide.
ServiceTemplateSupportedComponentSourceType
public void setSupportedComponentSources(Collection<String> supportedComponentSources)
An array of supported component sources. Components with supported sources can be attached to service instances based on this service template version.
For more information about components, see Proton components in the Proton User Guide.
supportedComponentSources
- An array of supported component sources. Components with supported sources can be attached to service
instances based on this service template version.
For more information about components, see Proton components in the Proton User Guide.
ServiceTemplateSupportedComponentSourceType
public ServiceTemplateVersion withSupportedComponentSources(String... supportedComponentSources)
An array of supported component sources. Components with supported sources can be attached to service instances based on this service template version.
For more information about components, see Proton components in the Proton User Guide.
NOTE: This method appends the values to the existing list (if any). Use
setSupportedComponentSources(java.util.Collection)
or
withSupportedComponentSources(java.util.Collection)
if you want to override the existing values.
supportedComponentSources
- An array of supported component sources. Components with supported sources can be attached to service
instances based on this service template version.
For more information about components, see Proton components in the Proton User Guide.
ServiceTemplateSupportedComponentSourceType
public ServiceTemplateVersion withSupportedComponentSources(Collection<String> supportedComponentSources)
An array of supported component sources. Components with supported sources can be attached to service instances based on this service template version.
For more information about components, see Proton components in the Proton User Guide.
supportedComponentSources
- An array of supported component sources. Components with supported sources can be attached to service
instances based on this service template version.
For more information about components, see Proton components in the Proton User Guide.
ServiceTemplateSupportedComponentSourceType
public ServiceTemplateVersion withSupportedComponentSources(ServiceTemplateSupportedComponentSourceType... supportedComponentSources)
An array of supported component sources. Components with supported sources can be attached to service instances based on this service template version.
For more information about components, see Proton components in the Proton User Guide.
supportedComponentSources
- An array of supported component sources. Components with supported sources can be attached to service
instances based on this service template version.
For more information about components, see Proton components in the Proton User Guide.
ServiceTemplateSupportedComponentSourceType
public void setTemplateName(String templateName)
The name of the version of a service template.
templateName
- The name of the version of a service template.public String getTemplateName()
The name of the version of a service template.
public ServiceTemplateVersion withTemplateName(String templateName)
The name of the version of a service template.
templateName
- The name of the version of a service template.public String toString()
toString
in class Object
Object.toString()
public ServiceTemplateVersion clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.