Interface UpdateServiceTemplateVersionRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateServiceTemplateVersionRequest.Builder,UpdateServiceTemplateVersionRequest>,ProtonRequest.Builder,SdkBuilder<UpdateServiceTemplateVersionRequest.Builder,UpdateServiceTemplateVersionRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateServiceTemplateVersionRequest
public static interface UpdateServiceTemplateVersionRequest.Builder extends ProtonRequest.Builder, SdkPojo, CopyableBuilder<UpdateServiceTemplateVersionRequest.Builder,UpdateServiceTemplateVersionRequest>
-
-
Method Summary
-
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 Detail
-
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.Builderavoiding the need to create one manually viaCompatibleEnvironmentTemplateInput.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#compatibleEnvironmentTemplates(List.) - 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:
#compatibleEnvironmentTemplates(java.util.Collection)
-
description
UpdateServiceTemplateVersionRequest.Builder description(String 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
UpdateServiceTemplateVersionRequest.Builder majorVersion(String 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
UpdateServiceTemplateVersionRequest.Builder minorVersion(String 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
UpdateServiceTemplateVersionRequest.Builder status(String 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:
TemplateVersionStatus,TemplateVersionStatus
-
status
UpdateServiceTemplateVersionRequest.Builder status(TemplateVersionStatus 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:
TemplateVersionStatus,TemplateVersionStatus
-
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
supportedComponentSourcesdoesn'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
supportedComponentSourcesdoesn'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
supportedComponentSourcesdoesn'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
supportedComponentSourcesdoesn'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
supportedComponentSourcesdoesn'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
supportedComponentSourcesdoesn'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
supportedComponentSourcesdoesn'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
supportedComponentSourcesdoesn'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
UpdateServiceTemplateVersionRequest.Builder templateName(String 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateServiceTemplateVersionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-