@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateServiceTemplateVersionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateServiceTemplateVersionRequest() |
Modifier and Type | Method and Description |
---|---|
CreateServiceTemplateVersionRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClientToken()
When included, if two identicial requests are made with the same client token, AWS Proton returns the service
template version that the first request created.
|
List<CompatibleEnvironmentTemplateInput> |
getCompatibleEnvironmentTemplates()
An array of compatible environment template objects for the new version of a service template.
|
String |
getDescription()
A description of the new version of a service template.
|
String |
getMajorVersion()
To create a new minor version of the service template, include a
majorVersion . |
TemplateVersionSourceInput |
getSource()
An object that includes the template bundle S3 bucket path and name for the new version of a service template.
|
List<Tag> |
getTags()
Create tags for a new version of a service template.
|
String |
getTemplateName()
The name of the service template.
|
int |
hashCode() |
void |
setClientToken(String clientToken)
When included, if two identicial requests are made with the same client token, AWS Proton returns the service
template version that the first request created.
|
void |
setCompatibleEnvironmentTemplates(Collection<CompatibleEnvironmentTemplateInput> compatibleEnvironmentTemplates)
An array of compatible environment template objects for the new version of a service template.
|
void |
setDescription(String description)
A description of the new version of a service template.
|
void |
setMajorVersion(String majorVersion)
To create a new minor version of the service template, include a
majorVersion . |
void |
setSource(TemplateVersionSourceInput source)
An object that includes the template bundle S3 bucket path and name for the new version of a service template.
|
void |
setTags(Collection<Tag> tags)
Create tags for a new version of a service template.
|
void |
setTemplateName(String templateName)
The name of the service template.
|
String |
toString()
Returns a string representation of this object.
|
CreateServiceTemplateVersionRequest |
withClientToken(String clientToken)
When included, if two identicial requests are made with the same client token, AWS Proton returns the service
template version that the first request created.
|
CreateServiceTemplateVersionRequest |
withCompatibleEnvironmentTemplates(Collection<CompatibleEnvironmentTemplateInput> compatibleEnvironmentTemplates)
An array of compatible environment template objects for the new version of a service template.
|
CreateServiceTemplateVersionRequest |
withCompatibleEnvironmentTemplates(CompatibleEnvironmentTemplateInput... compatibleEnvironmentTemplates)
An array of compatible environment template objects for the new version of a service template.
|
CreateServiceTemplateVersionRequest |
withDescription(String description)
A description of the new version of a service template.
|
CreateServiceTemplateVersionRequest |
withMajorVersion(String majorVersion)
To create a new minor version of the service template, include a
majorVersion . |
CreateServiceTemplateVersionRequest |
withSource(TemplateVersionSourceInput source)
An object that includes the template bundle S3 bucket path and name for the new version of a service template.
|
CreateServiceTemplateVersionRequest |
withTags(Collection<Tag> tags)
Create tags for a new version of a service template.
|
CreateServiceTemplateVersionRequest |
withTags(Tag... tags)
Create tags for a new version of a service template.
|
CreateServiceTemplateVersionRequest |
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 void setClientToken(String clientToken)
When included, if two identicial requests are made with the same client token, AWS Proton returns the service template version that the first request created.
clientToken
- When included, if two identicial requests are made with the same client token, AWS Proton returns the
service template version that the first request created.public String getClientToken()
When included, if two identicial requests are made with the same client token, AWS Proton returns the service template version that the first request created.
public CreateServiceTemplateVersionRequest withClientToken(String clientToken)
When included, if two identicial requests are made with the same client token, AWS Proton returns the service template version that the first request created.
clientToken
- When included, if two identicial requests are made with the same client token, AWS Proton returns the
service template version that the first request created.public List<CompatibleEnvironmentTemplateInput> getCompatibleEnvironmentTemplates()
An array of compatible environment template objects for the new version of a service template.
public void setCompatibleEnvironmentTemplates(Collection<CompatibleEnvironmentTemplateInput> compatibleEnvironmentTemplates)
An array of compatible environment template objects for the new version of a service template.
compatibleEnvironmentTemplates
- An array of compatible environment template objects for the new version of a service template.public CreateServiceTemplateVersionRequest withCompatibleEnvironmentTemplates(CompatibleEnvironmentTemplateInput... compatibleEnvironmentTemplates)
An array of compatible environment template objects for the new 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 objects for the new version of a service template.public CreateServiceTemplateVersionRequest withCompatibleEnvironmentTemplates(Collection<CompatibleEnvironmentTemplateInput> compatibleEnvironmentTemplates)
An array of compatible environment template objects for the new version of a service template.
compatibleEnvironmentTemplates
- An array of compatible environment template objects for the new version of a service template.public void setDescription(String description)
A description of the new version of a service template.
description
- A description of the new version of a service template.public String getDescription()
A description of the new version of a service template.
public CreateServiceTemplateVersionRequest withDescription(String description)
A description of the new version of a service template.
description
- A description of the new version of a service template.public void setMajorVersion(String majorVersion)
To create a new minor version of the service template, include a majorVersion
.
To create a new major and minor version of the service template, exclude majorVersion
.
majorVersion
- To create a new minor version of the service template, include a majorVersion
.
To create a new major and minor version of the service template, exclude majorVersion
.
public String getMajorVersion()
To create a new minor version of the service template, include a majorVersion
.
To create a new major and minor version of the service template, exclude majorVersion
.
majorVersion
.
To create a new major and minor version of the service template, exclude majorVersion
.
public CreateServiceTemplateVersionRequest withMajorVersion(String majorVersion)
To create a new minor version of the service template, include a majorVersion
.
To create a new major and minor version of the service template, exclude majorVersion
.
majorVersion
- To create a new minor version of the service template, include a majorVersion
.
To create a new major and minor version of the service template, exclude majorVersion
.
public void setSource(TemplateVersionSourceInput source)
An object that includes the template bundle S3 bucket path and name for the new version of a service template.
source
- An object that includes the template bundle S3 bucket path and name for the new version of a service
template.public TemplateVersionSourceInput getSource()
An object that includes the template bundle S3 bucket path and name for the new version of a service template.
public CreateServiceTemplateVersionRequest withSource(TemplateVersionSourceInput source)
An object that includes the template bundle S3 bucket path and name for the new version of a service template.
source
- An object that includes the template bundle S3 bucket path and name for the new version of a service
template.public List<Tag> getTags()
Create tags for a new version of a service template.
public void setTags(Collection<Tag> tags)
Create tags for a new version of a service template.
tags
- Create tags for a new version of a service template.public CreateServiceTemplateVersionRequest withTags(Tag... tags)
Create tags for a new version of a service template.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- Create tags for a new version of a service template.public CreateServiceTemplateVersionRequest withTags(Collection<Tag> tags)
Create tags for a new version of a service template.
tags
- Create tags for a new version of a service template.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 CreateServiceTemplateVersionRequest 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 CreateServiceTemplateVersionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()