@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateEnvironmentTemplateVersionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateEnvironmentTemplateVersionRequest() |
Modifier and Type | Method and Description |
---|---|
CreateEnvironmentTemplateVersionRequest |
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 environment
template version that the first request created.
|
String |
getDescription()
A description of the new version of an environment template.
|
String |
getMajorVersion()
To create a new minor version of the environment template, include a
majorVersion . |
TemplateVersionSourceInput |
getSource()
An object that includes the template bundle S3 bucket path and name for the new version of an template.
|
List<Tag> |
getTags()
Create tags for a new version of an environment template.
|
String |
getTemplateName()
The name of the environment template.
|
int |
hashCode() |
void |
setClientToken(String clientToken)
When included, if two identicial requests are made with the same client token, AWS Proton returns the environment
template version that the first request created.
|
void |
setDescription(String description)
A description of the new version of an environment template.
|
void |
setMajorVersion(String majorVersion)
To create a new minor version of the environment 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 an template.
|
void |
setTags(Collection<Tag> tags)
Create tags for a new version of an environment template.
|
void |
setTemplateName(String templateName)
The name of the environment template.
|
String |
toString()
Returns a string representation of this object.
|
CreateEnvironmentTemplateVersionRequest |
withClientToken(String clientToken)
When included, if two identicial requests are made with the same client token, AWS Proton returns the environment
template version that the first request created.
|
CreateEnvironmentTemplateVersionRequest |
withDescription(String description)
A description of the new version of an environment template.
|
CreateEnvironmentTemplateVersionRequest |
withMajorVersion(String majorVersion)
To create a new minor version of the environment template, include a
majorVersion . |
CreateEnvironmentTemplateVersionRequest |
withSource(TemplateVersionSourceInput source)
An object that includes the template bundle S3 bucket path and name for the new version of an template.
|
CreateEnvironmentTemplateVersionRequest |
withTags(Collection<Tag> tags)
Create tags for a new version of an environment template.
|
CreateEnvironmentTemplateVersionRequest |
withTags(Tag... tags)
Create tags for a new version of an environment template.
|
CreateEnvironmentTemplateVersionRequest |
withTemplateName(String templateName)
The name of the environment 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 CreateEnvironmentTemplateVersionRequest()
public void setClientToken(String clientToken)
When included, if two identicial requests are made with the same client token, AWS Proton returns the environment 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
environment 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 environment template version that the first request created.
public CreateEnvironmentTemplateVersionRequest withClientToken(String clientToken)
When included, if two identicial requests are made with the same client token, AWS Proton returns the environment 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
environment template version that the first request created.public void setDescription(String description)
A description of the new version of an environment template.
description
- A description of the new version of an environment template.public String getDescription()
A description of the new version of an environment template.
public CreateEnvironmentTemplateVersionRequest withDescription(String description)
A description of the new version of an environment template.
description
- A description of the new version of an environment template.public void setMajorVersion(String majorVersion)
To create a new minor version of the environment template, include a majorVersion
.
To create a new major and minor version of the environment template, exclude majorVersion
.
majorVersion
- To create a new minor version of the environment template, include a majorVersion
.
To create a new major and minor version of the environment template, exclude
majorVersion
.
public String getMajorVersion()
To create a new minor version of the environment template, include a majorVersion
.
To create a new major and minor version of the environment template, exclude majorVersion
.
majorVersion
.
To create a new major and minor version of the environment template, exclude
majorVersion
.
public CreateEnvironmentTemplateVersionRequest withMajorVersion(String majorVersion)
To create a new minor version of the environment template, include a majorVersion
.
To create a new major and minor version of the environment template, exclude majorVersion
.
majorVersion
- To create a new minor version of the environment template, include a majorVersion
.
To create a new major and minor version of the environment 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 an template.
source
- An object that includes the template bundle S3 bucket path and name for the new version of an template.public TemplateVersionSourceInput getSource()
An object that includes the template bundle S3 bucket path and name for the new version of an template.
public CreateEnvironmentTemplateVersionRequest withSource(TemplateVersionSourceInput source)
An object that includes the template bundle S3 bucket path and name for the new version of an template.
source
- An object that includes the template bundle S3 bucket path and name for the new version of an template.public List<Tag> getTags()
Create tags for a new version of an environment template.
public void setTags(Collection<Tag> tags)
Create tags for a new version of an environment template.
tags
- Create tags for a new version of an environment template.public CreateEnvironmentTemplateVersionRequest withTags(Tag... tags)
Create tags for a new version of an environment 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 an environment template.public CreateEnvironmentTemplateVersionRequest withTags(Collection<Tag> tags)
Create tags for a new version of an environment template.
tags
- Create tags for a new version of an environment template.public void setTemplateName(String templateName)
The name of the environment template.
templateName
- The name of the environment template.public String getTemplateName()
The name of the environment template.
public CreateEnvironmentTemplateVersionRequest withTemplateName(String templateName)
The name of the environment template.
templateName
- The name of the environment template.public String toString()
toString
in class Object
Object.toString()
public CreateEnvironmentTemplateVersionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()