@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 identical requests are made with the same client token, 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
major Version . |
TemplateVersionSourceInput |
getSource()
An object that includes the template bundle S3 bucket path and name for the new version of an template.
|
List<Tag> |
getTags()
An optional list of metadata items that you can associate with the Proton environment template version.
|
String |
getTemplateName()
The name of the environment template.
|
int |
hashCode() |
void |
setClientToken(String clientToken)
When included, if two identical requests are made with the same client token, 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
major Version . |
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)
An optional list of metadata items that you can associate with the Proton environment template version.
|
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 identical requests are made with the same client token, 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
major Version . |
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)
An optional list of metadata items that you can associate with the Proton environment template version.
|
CreateEnvironmentTemplateVersionRequest |
withTags(Tag... tags)
An optional list of metadata items that you can associate with the Proton environment template version.
|
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 identical requests are made with the same client token, Proton returns the environment template version that the first request created.
clientToken
- When included, if two identical requests are made with the same client token, Proton returns the
environment template version that the first request created.public String getClientToken()
When included, if two identical requests are made with the same client token, Proton returns the environment template version that the first request created.
public CreateEnvironmentTemplateVersionRequest withClientToken(String clientToken)
When included, if two identical requests are made with the same client token, Proton returns the environment template version that the first request created.
clientToken
- When included, if two identical requests are made with the same client token, 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 major Version
.
To create a new major and minor version of the environment template, exclude major Version
.
majorVersion
- To create a new minor version of the environment template, include major Version
.
To create a new major and minor version of the environment template, exclude major Version
.
public String getMajorVersion()
To create a new minor version of the environment template, include major Version
.
To create a new major and minor version of the environment template, exclude major Version
.
major Version
.
To create a new major and minor version of the environment template, exclude major Version
.
public CreateEnvironmentTemplateVersionRequest withMajorVersion(String majorVersion)
To create a new minor version of the environment template, include major Version
.
To create a new major and minor version of the environment template, exclude major Version
.
majorVersion
- To create a new minor version of the environment template, include major Version
.
To create a new major and minor version of the environment template, exclude major Version
.
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()
An optional list of metadata items that you can associate with the Proton environment template version. A tag is a key-value pair.
For more information, see Proton resources and tagging in the Proton User Guide.
For more information, see Proton resources and tagging in the Proton User Guide.
public void setTags(Collection<Tag> tags)
An optional list of metadata items that you can associate with the Proton environment template version. A tag is a key-value pair.
For more information, see Proton resources and tagging in the Proton User Guide.
tags
- An optional list of metadata items that you can associate with the Proton environment template version. A
tag is a key-value pair.
For more information, see Proton resources and tagging in the Proton User Guide.
public CreateEnvironmentTemplateVersionRequest withTags(Tag... tags)
An optional list of metadata items that you can associate with the Proton environment template version. A tag is a key-value pair.
For more information, see Proton resources and tagging in the Proton User Guide.
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
- An optional list of metadata items that you can associate with the Proton environment template version. A
tag is a key-value pair.
For more information, see Proton resources and tagging in the Proton User Guide.
public CreateEnvironmentTemplateVersionRequest withTags(Collection<Tag> tags)
An optional list of metadata items that you can associate with the Proton environment template version. A tag is a key-value pair.
For more information, see Proton resources and tagging in the Proton User Guide.
tags
- An optional list of metadata items that you can associate with the Proton environment template version. A
tag is a key-value pair.
For more information, see Proton resources and tagging in the Proton User Guide.
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()