Interface CreateServiceTemplateRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateServiceTemplateRequest.Builder,
,CreateServiceTemplateRequest> ProtonRequest.Builder
,SdkBuilder<CreateServiceTemplateRequest.Builder,
,CreateServiceTemplateRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateServiceTemplateRequest
-
Method Summary
Modifier and TypeMethodDescriptiondescription
(String description) A description of the service template.displayName
(String displayName) The name of the service template as displayed in the developer interface.encryptionKey
(String encryptionKey) A customer provided encryption key that's used to encrypt data.The name of the service template.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.pipelineProvisioning
(String pipelineProvisioning) By default, Proton provides a service pipeline for your service.pipelineProvisioning
(Provisioning pipelineProvisioning) By default, Proton provides a service pipeline for your service.tags
(Collection<Tag> tags) An optional list of metadata items that you can associate with the Proton service template.tags
(Consumer<Tag.Builder>... tags) An optional list of metadata items that you can associate with the Proton service template.An optional list of metadata items that you can associate with the Proton 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
-
description
A description of the service template.
- Parameters:
description
- A description of the service template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
displayName
The name of the service template as displayed in the developer interface.
- Parameters:
displayName
- The name of the service template as displayed in the developer interface.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionKey
A customer provided encryption key that's used to encrypt data.
- Parameters:
encryptionKey
- A customer provided encryption key that's used to encrypt data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the service template.
- Parameters:
name
- The name of the service template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pipelineProvisioning
By default, Proton provides a service pipeline for your service. When this parameter is included, it indicates that an Proton service pipeline isn't provided for your service. After it's included, it can't be changed. For more information, see Template bundles in the Proton User Guide.
- Parameters:
pipelineProvisioning
- By default, Proton provides a service pipeline for your service. When this parameter is included, it indicates that an Proton service pipeline isn't provided for your service. After it's included, it can't be changed. For more information, see Template bundles in the Proton User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
pipelineProvisioning
By default, Proton provides a service pipeline for your service. When this parameter is included, it indicates that an Proton service pipeline isn't provided for your service. After it's included, it can't be changed. For more information, see Template bundles in the Proton User Guide.
- Parameters:
pipelineProvisioning
- By default, Proton provides a service pipeline for your service. When this parameter is included, it indicates that an Proton service pipeline isn't provided for your service. After it's included, it can't be changed. For more information, see Template bundles in the Proton User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
An optional list of metadata items that you can associate with the Proton service template. A tag is a key-value pair.
For more information, see Proton resources and tagging in the Proton User Guide.
- Parameters:
tags
- An optional list of metadata items that you can associate with the Proton service template. A tag is a key-value pair.For more information, see Proton resources and tagging in the Proton User Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
An optional list of metadata items that you can associate with the Proton service template. A tag is a key-value pair.
For more information, see Proton resources and tagging in the Proton User Guide.
- Parameters:
tags
- An optional list of metadata items that you can associate with the Proton service template. A tag is a key-value pair.For more information, see Proton resources and tagging in the Proton User Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
An optional list of metadata items that you can associate with the Proton service template. 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 viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateServiceTemplateRequest.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
CreateServiceTemplateRequest.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.
-