Interface CreateServiceInstanceRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateServiceInstanceRequest.Builder,
,CreateServiceInstanceRequest> ProtonRequest.Builder
,SdkBuilder<CreateServiceInstanceRequest.Builder,
,CreateServiceInstanceRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateServiceInstanceRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientToken
(String clientToken) The client token of the service instance to create.The name of the service instance to create.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.serviceName
(String serviceName) The name of the service the service instance is added to.The spec for the service instance you want to create.tags
(Collection<Tag> tags) An optional list of metadata items that you can associate with the Proton service instance.tags
(Consumer<Tag.Builder>... tags) An optional list of metadata items that you can associate with the Proton service instance.An optional list of metadata items that you can associate with the Proton service instance.templateMajorVersion
(String templateMajorVersion) To create a new major and minor version of the service template, excludemajor Version
.templateMinorVersion
(String templateMinorVersion) To create a new minor version of the service template, include amajor Version
.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
-
clientToken
The client token of the service instance to create.
- Parameters:
clientToken
- The client token of the service instance to create.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the service instance to create.
- Parameters:
name
- The name of the service instance to create.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceName
The name of the service the service instance is added to.
- Parameters:
serviceName
- The name of the service the service instance is added to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
spec
The spec for the service instance you want to create.
- Parameters:
spec
- The spec for the service instance you want to create.- 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 instance. 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 instance. 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 instance. 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 instance. 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 instance. 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:
-
templateMajorVersion
To create a new major and minor version of the service template, exclude
major Version
.- Parameters:
templateMajorVersion
- To create a new major and minor version of the service template, excludemajor Version
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
templateMinorVersion
To create a new minor version of the service template, include a
major Version
.- Parameters:
templateMinorVersion
- To create a new minor version of the service template, include amajor Version
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateServiceInstanceRequest.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
CreateServiceInstanceRequest.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.
-