@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateServiceTemplateVersionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateServiceTemplateVersionRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateServiceTemplateVersionRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<CompatibleEnvironmentTemplateInput> |
getCompatibleEnvironmentTemplates()
An array of environment template objects that are compatible with this service template version.
|
String |
getDescription()
A description of a service template version to update.
|
String |
getMajorVersion()
To update a major version of a service template, include
major Version . |
String |
getMinorVersion()
To update a minor version of a service template, include
minorVersion . |
String |
getStatus()
The status of the service template minor version to update.
|
List<String> |
getSupportedComponentSources()
An array of supported component sources.
|
String |
getTemplateName()
The name of the service template.
|
int |
hashCode() |
void |
setCompatibleEnvironmentTemplates(Collection<CompatibleEnvironmentTemplateInput> compatibleEnvironmentTemplates)
An array of environment template objects that are compatible with this service template version.
|
void |
setDescription(String description)
A description of a service template version to update.
|
void |
setMajorVersion(String majorVersion)
To update a major version of a service template, include
major Version . |
void |
setMinorVersion(String minorVersion)
To update a minor version of a service template, include
minorVersion . |
void |
setStatus(String status)
The status of the service template minor version to update.
|
void |
setSupportedComponentSources(Collection<String> supportedComponentSources)
An array of supported component sources.
|
void |
setTemplateName(String templateName)
The name of the service template.
|
String |
toString()
Returns a string representation of this object.
|
UpdateServiceTemplateVersionRequest |
withCompatibleEnvironmentTemplates(Collection<CompatibleEnvironmentTemplateInput> compatibleEnvironmentTemplates)
An array of environment template objects that are compatible with this service template version.
|
UpdateServiceTemplateVersionRequest |
withCompatibleEnvironmentTemplates(CompatibleEnvironmentTemplateInput... compatibleEnvironmentTemplates)
An array of environment template objects that are compatible with this service template version.
|
UpdateServiceTemplateVersionRequest |
withDescription(String description)
A description of a service template version to update.
|
UpdateServiceTemplateVersionRequest |
withMajorVersion(String majorVersion)
To update a major version of a service template, include
major Version . |
UpdateServiceTemplateVersionRequest |
withMinorVersion(String minorVersion)
To update a minor version of a service template, include
minorVersion . |
UpdateServiceTemplateVersionRequest |
withStatus(String status)
The status of the service template minor version to update.
|
UpdateServiceTemplateVersionRequest |
withStatus(TemplateVersionStatus status)
The status of the service template minor version to update.
|
UpdateServiceTemplateVersionRequest |
withSupportedComponentSources(Collection<String> supportedComponentSources)
An array of supported component sources.
|
UpdateServiceTemplateVersionRequest |
withSupportedComponentSources(ServiceTemplateSupportedComponentSourceType... supportedComponentSources)
An array of supported component sources.
|
UpdateServiceTemplateVersionRequest |
withSupportedComponentSources(String... supportedComponentSources)
An array of supported component sources.
|
UpdateServiceTemplateVersionRequest |
withTemplateName(String templateName)
The name of the service template.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public List<CompatibleEnvironmentTemplateInput> getCompatibleEnvironmentTemplates()
An array of environment template objects that are compatible with this service template version. A service instance based on this service template version can run in environments based on compatible templates.
public void setCompatibleEnvironmentTemplates(Collection<CompatibleEnvironmentTemplateInput> compatibleEnvironmentTemplates)
An array of environment template objects that are compatible with this service template version. A service instance based on this service template version can run in environments based on compatible templates.
compatibleEnvironmentTemplates
- An array of environment template objects that are compatible with this service template version. A service
instance based on this service template version can run in environments based on compatible templates.public UpdateServiceTemplateVersionRequest withCompatibleEnvironmentTemplates(CompatibleEnvironmentTemplateInput... compatibleEnvironmentTemplates)
An array of environment template objects that are compatible with this service template version. A service instance based on this service template version can run in environments based on compatible templates.
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 environment template objects that are compatible with this service template version. A service
instance based on this service template version can run in environments based on compatible templates.public UpdateServiceTemplateVersionRequest withCompatibleEnvironmentTemplates(Collection<CompatibleEnvironmentTemplateInput> compatibleEnvironmentTemplates)
An array of environment template objects that are compatible with this service template version. A service instance based on this service template version can run in environments based on compatible templates.
compatibleEnvironmentTemplates
- An array of environment template objects that are compatible with this service template version. A service
instance based on this service template version can run in environments based on compatible templates.public void setDescription(String description)
A description of a service template version to update.
description
- A description of a service template version to update.public String getDescription()
A description of a service template version to update.
public UpdateServiceTemplateVersionRequest withDescription(String description)
A description of a service template version to update.
description
- A description of a service template version to update.public void setMajorVersion(String majorVersion)
To update a major version of a service template, include major Version
.
majorVersion
- To update a major version of a service template, include major Version
.public String getMajorVersion()
To update a major version of a service template, include major Version
.
major Version
.public UpdateServiceTemplateVersionRequest withMajorVersion(String majorVersion)
To update a major version of a service template, include major Version
.
majorVersion
- To update a major version of a service template, include major Version
.public void setMinorVersion(String minorVersion)
To update a minor version of a service template, include minorVersion
.
minorVersion
- To update a minor version of a service template, include minorVersion
.public String getMinorVersion()
To update a minor version of a service template, include minorVersion
.
minorVersion
.public UpdateServiceTemplateVersionRequest withMinorVersion(String minorVersion)
To update a minor version of a service template, include minorVersion
.
minorVersion
- To update a minor version of a service template, include minorVersion
.public void setStatus(String status)
The status of the service template minor version to update.
status
- The status of the service template minor version to update.TemplateVersionStatus
public String getStatus()
The status of the service template minor version to update.
TemplateVersionStatus
public UpdateServiceTemplateVersionRequest withStatus(String status)
The status of the service template minor version to update.
status
- The status of the service template minor version to update.TemplateVersionStatus
public UpdateServiceTemplateVersionRequest withStatus(TemplateVersionStatus status)
The status of the service template minor version to update.
status
- The status of the service template minor version to update.TemplateVersionStatus
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.
A change to supportedComponentSources
doesn't impact existing component attachments to instances
based on this template version. A change only affects later associations.
For more information about components, see Proton components in the Proton User Guide.
A change to supportedComponentSources
doesn't impact existing component attachments to
instances based on this template version. A change only affects later associations.
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.
A change to supportedComponentSources
doesn't impact existing component attachments to instances
based on this template version. A change only affects later associations.
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.
A change to supportedComponentSources
doesn't impact existing component attachments to
instances based on this template version. A change only affects later associations.
For more information about components, see Proton components in the Proton User Guide.
ServiceTemplateSupportedComponentSourceType
public UpdateServiceTemplateVersionRequest 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.
A change to supportedComponentSources
doesn't impact existing component attachments to instances
based on this template version. A change only affects later associations.
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.
A change to supportedComponentSources
doesn't impact existing component attachments to
instances based on this template version. A change only affects later associations.
For more information about components, see Proton components in the Proton User Guide.
ServiceTemplateSupportedComponentSourceType
public UpdateServiceTemplateVersionRequest 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.
A change to supportedComponentSources
doesn't impact existing component attachments to instances
based on this template version. A change only affects later associations.
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.
A change to supportedComponentSources
doesn't impact existing component attachments to
instances based on this template version. A change only affects later associations.
For more information about components, see Proton components in the Proton User Guide.
ServiceTemplateSupportedComponentSourceType
public UpdateServiceTemplateVersionRequest 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.
A change to supportedComponentSources
doesn't impact existing component attachments to instances
based on this template version. A change only affects later associations.
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.
A change to supportedComponentSources
doesn't impact existing component attachments to
instances based on this template version. A change only affects later associations.
For more information about components, see Proton components in the Proton User Guide.
ServiceTemplateSupportedComponentSourceType
public void setTemplateName(String templateName)
The name of the service template.
templateName
- The name of the service template.public String getTemplateName()
The name of the service template.
public UpdateServiceTemplateVersionRequest withTemplateName(String templateName)
The name of the service template.
templateName
- The name of the service template.public String toString()
toString
in class Object
Object.toString()
public UpdateServiceTemplateVersionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()