public static interface CreateServiceInstanceRequest.Builder extends ProtonRequest.Builder, SdkPojo, CopyableBuilder<CreateServiceInstanceRequest.Builder,CreateServiceInstanceRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateServiceInstanceRequest.Builder |
clientToken(String clientToken)
The client token of the service instance to create.
|
CreateServiceInstanceRequest.Builder |
name(String name)
The name of the service instance to create.
|
CreateServiceInstanceRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateServiceInstanceRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateServiceInstanceRequest.Builder |
serviceName(String serviceName)
The name of the service the service instance is added to.
|
CreateServiceInstanceRequest.Builder |
spec(String spec)
The spec for the service instance you want to create.
|
CreateServiceInstanceRequest.Builder |
tags(Collection<Tag> tags)
An optional list of metadata items that you can associate with the Proton service instance.
|
CreateServiceInstanceRequest.Builder |
tags(Consumer<Tag.Builder>... tags)
An optional list of metadata items that you can associate with the Proton service instance.
|
CreateServiceInstanceRequest.Builder |
tags(Tag... tags)
An optional list of metadata items that you can associate with the Proton service instance.
|
CreateServiceInstanceRequest.Builder |
templateMajorVersion(String templateMajorVersion)
To create a new major and minor version of the service template, exclude
major Version. |
CreateServiceInstanceRequest.Builder |
templateMinorVersion(String templateMinorVersion)
To create a new minor version of the service template, include a
major Version. |
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateServiceInstanceRequest.Builder clientToken(String clientToken)
The client token of the service instance to create.
clientToken - The client token of the service instance to create.CreateServiceInstanceRequest.Builder name(String name)
The name of the service instance to create.
name - The name of the service instance to create.CreateServiceInstanceRequest.Builder serviceName(String serviceName)
The name of the service the service instance is added to.
serviceName - The name of the service the service instance is added to.CreateServiceInstanceRequest.Builder spec(String spec)
The spec for the service instance you want to create.
spec - The spec for the service instance you want to create.CreateServiceInstanceRequest.Builder tags(Collection<Tag> 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.
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.
CreateServiceInstanceRequest.Builder tags(Tag... 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.
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.
CreateServiceInstanceRequest.Builder tags(Consumer<Tag.Builder>... 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 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) CreateServiceInstanceRequest.Builder templateMajorVersion(String templateMajorVersion)
To create a new major and minor version of the service template, exclude major Version.
templateMajorVersion - To create a new major and minor version of the service template, exclude
major Version.CreateServiceInstanceRequest.Builder templateMinorVersion(String templateMinorVersion)
To create a new minor version of the service template, include a major Version.
templateMinorVersion - To create a new minor version of the service template, include a major Version.CreateServiceInstanceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateServiceInstanceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.