@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 compatible environment names for a service template major or minor version to update.
|
String |
getDescription()
A description of a service template version to update.
|
String |
getMajorVersion()
To update a major version of a service template, include
majorVersion . |
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.
|
String |
getTemplateName()
The name of the service template.
|
int |
hashCode() |
void |
setCompatibleEnvironmentTemplates(Collection<CompatibleEnvironmentTemplateInput> compatibleEnvironmentTemplates)
An array of compatible environment names for a service template major or minor version to update.
|
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
majorVersion . |
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 |
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 compatible environment names for a service template major or minor version to update.
|
UpdateServiceTemplateVersionRequest |
withCompatibleEnvironmentTemplates(CompatibleEnvironmentTemplateInput... compatibleEnvironmentTemplates)
An array of compatible environment names for a service template major or minor version to update.
|
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
majorVersion . |
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 |
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 compatible environment names for a service template major or minor version to update.
public void setCompatibleEnvironmentTemplates(Collection<CompatibleEnvironmentTemplateInput> compatibleEnvironmentTemplates)
An array of compatible environment names for a service template major or minor version to update.
compatibleEnvironmentTemplates
- An array of compatible environment names for a service template major or minor version to update.public UpdateServiceTemplateVersionRequest withCompatibleEnvironmentTemplates(CompatibleEnvironmentTemplateInput... compatibleEnvironmentTemplates)
An array of compatible environment names for a service template major or minor version to update.
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 names for a service template major or minor version to update.public UpdateServiceTemplateVersionRequest withCompatibleEnvironmentTemplates(Collection<CompatibleEnvironmentTemplateInput> compatibleEnvironmentTemplates)
An array of compatible environment names for a service template major or minor version to update.
compatibleEnvironmentTemplates
- An array of compatible environment names for a service template major or minor version to update.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 majorVersion
.
majorVersion
- To update a major version of a service template, include majorVersion
.public String getMajorVersion()
To update a major version of a service template, include majorVersion
.
majorVersion
.public UpdateServiceTemplateVersionRequest withMajorVersion(String majorVersion)
To update a major version of a service template, include majorVersion
.
majorVersion
- To update a major version of a service template, include majorVersion
.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 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()