public static interface CreateServiceTemplateVersionRequest.Builder extends ProtonRequest.Builder, SdkPojo, CopyableBuilder<CreateServiceTemplateVersionRequest.Builder,CreateServiceTemplateVersionRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateServiceTemplateVersionRequest.Builder |
clientToken(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.Builder |
compatibleEnvironmentTemplates(Collection<CompatibleEnvironmentTemplateInput> compatibleEnvironmentTemplates)
An array of environment template objects that are compatible with the new service template version.
|
CreateServiceTemplateVersionRequest.Builder |
compatibleEnvironmentTemplates(CompatibleEnvironmentTemplateInput... compatibleEnvironmentTemplates)
An array of environment template objects that are compatible with the new service template version.
|
CreateServiceTemplateVersionRequest.Builder |
compatibleEnvironmentTemplates(Consumer<CompatibleEnvironmentTemplateInput.Builder>... compatibleEnvironmentTemplates)
An array of environment template objects that are compatible with the new service template version.
|
CreateServiceTemplateVersionRequest.Builder |
description(String description)
A description of the new version of a service template.
|
CreateServiceTemplateVersionRequest.Builder |
majorVersion(String majorVersion)
To create a new minor version of the service template, include a
major Version. |
CreateServiceTemplateVersionRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateServiceTemplateVersionRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
default CreateServiceTemplateVersionRequest.Builder |
source(Consumer<TemplateVersionSourceInput.Builder> source)
An object that includes the template bundle S3 bucket path and name for the new version of a service
template.
|
CreateServiceTemplateVersionRequest.Builder |
source(TemplateVersionSourceInput source)
An object that includes the template bundle S3 bucket path and name for the new version of a service
template.
|
CreateServiceTemplateVersionRequest.Builder |
supportedComponentSources(Collection<ServiceTemplateSupportedComponentSourceType> supportedComponentSources)
An array of supported component sources.
|
CreateServiceTemplateVersionRequest.Builder |
supportedComponentSources(ServiceTemplateSupportedComponentSourceType... supportedComponentSources)
An array of supported component sources.
|
CreateServiceTemplateVersionRequest.Builder |
supportedComponentSourcesWithStrings(Collection<String> supportedComponentSources)
An array of supported component sources.
|
CreateServiceTemplateVersionRequest.Builder |
supportedComponentSourcesWithStrings(String... supportedComponentSources)
An array of supported component sources.
|
CreateServiceTemplateVersionRequest.Builder |
tags(Collection<Tag> tags)
An optional list of metadata items that you can associate with the Proton service template version.
|
CreateServiceTemplateVersionRequest.Builder |
tags(Consumer<Tag.Builder>... tags)
An optional list of metadata items that you can associate with the Proton service template version.
|
CreateServiceTemplateVersionRequest.Builder |
tags(Tag... tags)
An optional list of metadata items that you can associate with the Proton service template version.
|
CreateServiceTemplateVersionRequest.Builder |
templateName(String templateName)
The name of the service template.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateServiceTemplateVersionRequest.Builder clientToken(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.CreateServiceTemplateVersionRequest.Builder compatibleEnvironmentTemplates(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.CreateServiceTemplateVersionRequest.Builder compatibleEnvironmentTemplates(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.CreateServiceTemplateVersionRequest.Builder compatibleEnvironmentTemplates(Consumer<CompatibleEnvironmentTemplateInput.Builder>... 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.
This is a convenience method that creates an instance of theCompatibleEnvironmentTemplateInput.Builder avoiding the
need to create one manually via
CompatibleEnvironmentTemplateInput.builder().
When the Consumer completes,
SdkBuilder.build() is
called immediately and its result is passed to #compatibleEnvironmentTemplates(List.
compatibleEnvironmentTemplates - a consumer that will call methods on
CompatibleEnvironmentTemplateInput.Builder#compatibleEnvironmentTemplates(java.util.Collection) CreateServiceTemplateVersionRequest.Builder description(String description)
A description of the new version of a service template.
description - A description of the new version of a service template.CreateServiceTemplateVersionRequest.Builder majorVersion(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.
CreateServiceTemplateVersionRequest.Builder source(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.default CreateServiceTemplateVersionRequest.Builder source(Consumer<TemplateVersionSourceInput.Builder> source)
An object that includes the template bundle S3 bucket path and name for the new version of a service template.
This is a convenience method that creates an instance of theTemplateVersionSourceInput.Builder
avoiding the need to create one manually via TemplateVersionSourceInput.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to source(TemplateVersionSourceInput).
source - a consumer that will call methods on TemplateVersionSourceInput.Buildersource(TemplateVersionSourceInput)CreateServiceTemplateVersionRequest.Builder supportedComponentSourcesWithStrings(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.
CreateServiceTemplateVersionRequest.Builder supportedComponentSourcesWithStrings(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.
CreateServiceTemplateVersionRequest.Builder supportedComponentSources(Collection<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.
CreateServiceTemplateVersionRequest.Builder supportedComponentSources(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.
CreateServiceTemplateVersionRequest.Builder tags(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.
CreateServiceTemplateVersionRequest.Builder tags(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.
CreateServiceTemplateVersionRequest.Builder tags(Consumer<Tag.Builder>... 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.
This is a convenience method that creates an instance of theTag.Builder avoiding the need to create one manually via
Tag.builder().
When the Consumer completes, SdkBuilder.build()
is called immediately and its result is passed to #tags(List.
tags - a consumer that will call methods on Tag.Builder#tags(java.util.Collection) CreateServiceTemplateVersionRequest.Builder templateName(String templateName)
The name of the service template.
templateName - The name of the service template.CreateServiceTemplateVersionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateServiceTemplateVersionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.