@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 identical requests are made with the same client token, Proton returns the service template
version that the first request created.
|
List<CompatibleEnvironmentTemplateInput> |
getCompatibleEnvironmentTemplates()
An array of environment template objects that are compatible with the new service template version.
|
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
major Version . |
TemplateVersionSourceInput |
getSource()
An object that includes the template bundle S3 bucket path and name for the new version of a service template.
|
List<String> |
getSupportedComponentSources()
An array of supported component sources.
|
List<Tag> |
getTags()
An optional list of metadata items that you can associate with the Proton service template version.
|
String |
getTemplateName()
The name of the service template.
|
int |
hashCode() |
void |
setClientToken(String clientToken)
When included, if two identical requests are made with the same client token, Proton returns the service template
version that the first request created.
|
void |
setCompatibleEnvironmentTemplates(Collection<CompatibleEnvironmentTemplateInput> compatibleEnvironmentTemplates)
An array of environment template objects that are compatible with the new service template version.
|
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
major Version . |
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 |
setSupportedComponentSources(Collection<String> supportedComponentSources)
An array of supported component sources.
|
void |
setTags(Collection<Tag> tags)
An optional list of metadata items that you can associate with the Proton service template version.
|
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 identical requests are made with the same client token, Proton returns the service template
version that the first request created.
|
CreateServiceTemplateVersionRequest |
withCompatibleEnvironmentTemplates(Collection<CompatibleEnvironmentTemplateInput> compatibleEnvironmentTemplates)
An array of environment template objects that are compatible with the new service template version.
|
CreateServiceTemplateVersionRequest |
withCompatibleEnvironmentTemplates(CompatibleEnvironmentTemplateInput... compatibleEnvironmentTemplates)
An array of environment template objects that are compatible with the new service template version.
|
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
major Version . |
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 |
withSupportedComponentSources(Collection<String> supportedComponentSources)
An array of supported component sources.
|
CreateServiceTemplateVersionRequest |
withSupportedComponentSources(ServiceTemplateSupportedComponentSourceType... supportedComponentSources)
An array of supported component sources.
|
CreateServiceTemplateVersionRequest |
withSupportedComponentSources(String... supportedComponentSources)
An array of supported component sources.
|
CreateServiceTemplateVersionRequest |
withTags(Collection<Tag> tags)
An optional list of metadata items that you can associate with the Proton service template version.
|
CreateServiceTemplateVersionRequest |
withTags(Tag... tags)
An optional list of metadata items that you can associate with the Proton service template version.
|
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 identical requests are made with the same client token, Proton returns the service template version that the first request created.
clientToken
- When included, if two identical requests are made with the same client token, Proton returns the service
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 service template version that the first request created.
public CreateServiceTemplateVersionRequest withClientToken(String clientToken)
When included, if two identical requests are made with the same client token, Proton returns the service template version that the first request created.
clientToken
- When included, if two identical requests are made with the same client token, Proton returns the service
template version that the first request created.public List<CompatibleEnvironmentTemplateInput> getCompatibleEnvironmentTemplates()
An array of environment template objects that are compatible with the new 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 the new 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 the new service template version. A
service instance based on this service template version can run in environments based on compatible
templates.public CreateServiceTemplateVersionRequest withCompatibleEnvironmentTemplates(CompatibleEnvironmentTemplateInput... compatibleEnvironmentTemplates)
An array of environment template objects that are compatible with the new 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 the new service template version. A
service instance based on this service template version can run in environments based on compatible
templates.public CreateServiceTemplateVersionRequest withCompatibleEnvironmentTemplates(Collection<CompatibleEnvironmentTemplateInput> compatibleEnvironmentTemplates)
An array of environment template objects that are compatible with the new 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 the new 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 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 major Version
.
To create a new major and minor version of the service template, exclude major Version
.
majorVersion
- To create a new minor version of the service template, include a major Version
.
To create a new major and minor version of the service template, exclude major Version
.
public String getMajorVersion()
To create a new minor version of the service template, include a major Version
.
To create a new major and minor version of the service template, exclude major Version
.
major Version
.
To create a new major and minor version of the service template, exclude
major Version
.
public CreateServiceTemplateVersionRequest withMajorVersion(String majorVersion)
To create a new minor version of the service template, include a major Version
.
To create a new major and minor version of the service template, exclude major Version
.
majorVersion
- To create a new minor version of the service template, include a major Version
.
To create a new major and minor version of the service 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 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<String> getSupportedComponentSources()
An array of supported component sources. Components with supported sources can be attached to service instances based on this service template version.
For more information about components, see Proton components in the Proton User Guide.
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.
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.
For more information about components, see Proton components in the Proton User Guide.
ServiceTemplateSupportedComponentSourceType
public CreateServiceTemplateVersionRequest 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.
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.
For more information about components, see Proton components in the Proton User Guide.
ServiceTemplateSupportedComponentSourceType
public CreateServiceTemplateVersionRequest 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.
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.
For more information about components, see Proton components in the Proton User Guide.
ServiceTemplateSupportedComponentSourceType
public CreateServiceTemplateVersionRequest 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.
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.
For more information about components, see Proton components in the Proton User Guide.
ServiceTemplateSupportedComponentSourceType
public List<Tag> getTags()
An optional list of metadata items that you can associate with the Proton service 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 service 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 service template version. A tag
is a key-value pair.
For more information, see Proton resources and tagging in the Proton User Guide.
public CreateServiceTemplateVersionRequest withTags(Tag... tags)
An optional list of metadata items that you can associate with the Proton service 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 service template version. A tag
is a key-value pair.
For more information, see Proton resources and tagging in the Proton User Guide.
public CreateServiceTemplateVersionRequest withTags(Collection<Tag> tags)
An optional list of metadata items that you can associate with the Proton service 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 service 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 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()