Interface UpdateServiceTemplateVersionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateServiceTemplateVersionRequest.Builder,
,UpdateServiceTemplateVersionRequest> ProtonRequest.Builder
,SdkBuilder<UpdateServiceTemplateVersionRequest.Builder,
,UpdateServiceTemplateVersionRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateServiceTemplateVersionRequest
-
Method Summary
Modifier and TypeMethodDescriptioncompatibleEnvironmentTemplates
(Collection<CompatibleEnvironmentTemplateInput> compatibleEnvironmentTemplates) An array of environment template objects that are compatible with this service template version.compatibleEnvironmentTemplates
(Consumer<CompatibleEnvironmentTemplateInput.Builder>... compatibleEnvironmentTemplates) An array of environment template objects that are compatible with this service template version.compatibleEnvironmentTemplates
(CompatibleEnvironmentTemplateInput... compatibleEnvironmentTemplates) An array of environment template objects that are compatible with this service template version.description
(String description) A description of a service template version to update.majorVersion
(String majorVersion) To update a major version of a service template, includemajor Version
.minorVersion
(String minorVersion) To update a minor version of a service template, includeminorVersion
.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The status of the service template minor version to update.status
(TemplateVersionStatus status) The status of the service template minor version to update.supportedComponentSources
(Collection<ServiceTemplateSupportedComponentSourceType> supportedComponentSources) An array of supported component sources.supportedComponentSources
(ServiceTemplateSupportedComponentSourceType... supportedComponentSources) An array of supported component sources.supportedComponentSourcesWithStrings
(String... supportedComponentSources) An array of supported component sources.supportedComponentSourcesWithStrings
(Collection<String> supportedComponentSources) An array of supported component sources.templateName
(String templateName) The name of the service template.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.proton.model.ProtonRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
compatibleEnvironmentTemplates
UpdateServiceTemplateVersionRequest.Builder compatibleEnvironmentTemplates(Collection<CompatibleEnvironmentTemplateInput> compatibleEnvironmentTemplates) An array of environment template objects that are compatible with this service template version. A service instance based on this service template version can run in environments based on compatible templates.
- Parameters:
compatibleEnvironmentTemplates
- An array of environment template objects that are compatible with this service template version. A service instance based on this service template version can run in environments based on compatible templates.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
compatibleEnvironmentTemplates
UpdateServiceTemplateVersionRequest.Builder compatibleEnvironmentTemplates(CompatibleEnvironmentTemplateInput... compatibleEnvironmentTemplates) An array of environment template objects that are compatible with this service template version. A service instance based on this service template version can run in environments based on compatible templates.
- Parameters:
compatibleEnvironmentTemplates
- An array of environment template objects that are compatible with this service template version. A service instance based on this service template version can run in environments based on compatible templates.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
compatibleEnvironmentTemplates
UpdateServiceTemplateVersionRequest.Builder compatibleEnvironmentTemplates(Consumer<CompatibleEnvironmentTemplateInput.Builder>... compatibleEnvironmentTemplates) An array of environment template objects that are compatible with this 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 viaCompatibleEnvironmentTemplateInput.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocompatibleEnvironmentTemplates(List<CompatibleEnvironmentTemplateInput>)
.- Parameters:
compatibleEnvironmentTemplates
- a consumer that will call methods onCompatibleEnvironmentTemplateInput.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
description
A description of a service template version to update.
- Parameters:
description
- A description of a service template version to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
majorVersion
To update a major version of a service template, include
major Version
.- Parameters:
majorVersion
- To update a major version of a service template, includemajor Version
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
minorVersion
To update a minor version of a service template, include
minorVersion
.- Parameters:
minorVersion
- To update a minor version of a service template, includeminorVersion
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of the service template minor version to update.
- Parameters:
status
- The status of the service template minor version to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the service template minor version to update.
- Parameters:
status
- The status of the service template minor version to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
supportedComponentSourcesWithStrings
UpdateServiceTemplateVersionRequest.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.
A change to
supportedComponentSources
doesn't impact existing component attachments to instances based on this template version. A change only affects later associations.For more information about components, see Proton components in the Proton User Guide.
- Parameters:
supportedComponentSources
- An array of supported component sources. Components with supported sources can be attached to service instances based on this service template version.A change to
supportedComponentSources
doesn't impact existing component attachments to instances based on this template version. A change only affects later associations.For more information about components, see Proton components in the Proton User Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportedComponentSourcesWithStrings
UpdateServiceTemplateVersionRequest.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.
A change to
supportedComponentSources
doesn't impact existing component attachments to instances based on this template version. A change only affects later associations.For more information about components, see Proton components in the Proton User Guide.
- Parameters:
supportedComponentSources
- An array of supported component sources. Components with supported sources can be attached to service instances based on this service template version.A change to
supportedComponentSources
doesn't impact existing component attachments to instances based on this template version. A change only affects later associations.For more information about components, see Proton components in the Proton User Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportedComponentSources
UpdateServiceTemplateVersionRequest.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.
A change to
supportedComponentSources
doesn't impact existing component attachments to instances based on this template version. A change only affects later associations.For more information about components, see Proton components in the Proton User Guide.
- Parameters:
supportedComponentSources
- An array of supported component sources. Components with supported sources can be attached to service instances based on this service template version.A change to
supportedComponentSources
doesn't impact existing component attachments to instances based on this template version. A change only affects later associations.For more information about components, see Proton components in the Proton User Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportedComponentSources
UpdateServiceTemplateVersionRequest.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.
A change to
supportedComponentSources
doesn't impact existing component attachments to instances based on this template version. A change only affects later associations.For more information about components, see Proton components in the Proton User Guide.
- Parameters:
supportedComponentSources
- An array of supported component sources. Components with supported sources can be attached to service instances based on this service template version.A change to
supportedComponentSources
doesn't impact existing component attachments to instances based on this template version. A change only affects later associations.For more information about components, see Proton components in the Proton User Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
templateName
The name of the service template.
- Parameters:
templateName
- The name of the service template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateServiceTemplateVersionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateServiceTemplateVersionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-