Interface CreateProfileEntryRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CloudExtensionsRequest.Builder,CopyableBuilder<CreateProfileEntryRequest.Builder,,CreateProfileEntryRequest> SdkBuilder<CreateProfileEntryRequest.Builder,,CreateProfileEntryRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateProfileEntryRequest
-
Method Summary
Modifier and TypeMethodDescriptionA list of capability paths to approve.approve(Collection<String> approve) A list of capability paths to approve.clientToken(String clientToken) Sets the value of the ClientToken property for this object.description(String description) A description of the entry's purpose.executionRole(String executionRole) The IAM role an extension assumes when calling AWS services.extensionIdentifier(String extensionIdentifier) The id of the extension to bind, such as aws:secretsmanager.interfaces(Map<String, InterfaceOptions> interfaces) Per-interface options, keyed by the id of an interface the extension declares.The entry's name, unique within the profile.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.profileIdentifier(String profileIdentifier) The identifier (id or name) of the profile to bind the extension to.The setting values to use for this extension, as free-form JSON.Tags to assign to the profile entry.versionPolicy(Consumer<VersionPolicy.Builder> versionPolicy) Controls which extension version this entry tracks and how it adopts new releases.versionPolicy(VersionPolicy versionPolicy) Controls which extension version this entry tracks and how it adopts new releases.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.cloudextensions.model.CloudExtensionsRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
profileIdentifier
The identifier (id or name) of the profile to bind the extension to.
- Parameters:
profileIdentifier- The identifier (id or name) of the profile to bind the extension to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
Sets the value of the ClientToken property for this object.- Parameters:
clientToken- The new value for the ClientToken property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
extensionIdentifier
The id of the extension to bind, such as aws:secretsmanager.
- Parameters:
extensionIdentifier- The id of the extension to bind, such as aws:secretsmanager.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The entry's name, unique within the profile. Defaults to the name in the extension's id.
- Parameters:
name- The entry's name, unique within the profile. Defaults to the name in the extension's id.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A description of the entry's purpose.
- Parameters:
description- A description of the entry's purpose.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
interfaces
Per-interface options, keyed by the id of an interface the extension declares.
- Parameters:
interfaces- Per-interface options, keyed by the id of an interface the extension declares.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
executionRole
The IAM role an extension assumes when calling AWS services. The role must be assumable by the Cloud Extensions Runtime's principal.
- Parameters:
executionRole- The IAM role an extension assumes when calling AWS services. The role must be assumable by the Cloud Extensions Runtime's principal.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
versionPolicy
Controls which extension version this entry tracks and how it adopts new releases.
- Parameters:
versionPolicy- Controls which extension version this entry tracks and how it adopts new releases.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
versionPolicy
default CreateProfileEntryRequest.Builder versionPolicy(Consumer<VersionPolicy.Builder> versionPolicy) Controls which extension version this entry tracks and how it adopts new releases.
This is a convenience method that creates an instance of theVersionPolicy.Builderavoiding the need to create one manually viaVersionPolicy.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toversionPolicy(VersionPolicy).- Parameters:
versionPolicy- a consumer that will call methods onVersionPolicy.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
settings
The setting values to use for this extension, as free-form JSON. Keys are the extension's setting ids and the values are validated against the extension's settings definitions. A setting that is omitted or null takes its default, if it has one. A null inside an array is rejected.
- Parameters:
settings- The setting values to use for this extension, as free-form JSON. Keys are the extension's setting ids and the values are validated against the extension's settings definitions. A setting that is omitted or null takes its default, if it has one. A null inside an array is rejected.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
approve
A list of capability paths to approve. Each path must correspond to a capability instance declared by the extension.
- Parameters:
approve- A list of capability paths to approve. Each path must correspond to a capability instance declared by the extension.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
approve
A list of capability paths to approve. Each path must correspond to a capability instance declared by the extension.
- Parameters:
approve- A list of capability paths to approve. Each path must correspond to a capability instance declared by the extension.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Tags to assign to the profile entry.
- Parameters:
tags- Tags to assign to the profile entry.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateProfileEntryRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateProfileEntryRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-