Interface UpdateProfileEntryRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CloudExtensionsRequest.Builder,CopyableBuilder<UpdateProfileEntryRequest.Builder,,UpdateProfileEntryRequest> SdkBuilder<UpdateProfileEntryRequest.Builder,,UpdateProfileEntryRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateProfileEntryRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe complete list of capability paths to approve, replacing the entry's current approvals.approve(Collection<String> approve) The complete list of capability paths to approve, replacing the entry's current approvals.description(String description) A new description of the entry's purpose.executionRole(String executionRole) The IAM role an extension assumes when calling AWS services.identifier(String identifier) The identifier of the profile entryinterfaces(Map<String, InterfaceOptions> interfaces) Per-interface options, keyed by the id of an interface the extension declares.A new name for the entry, 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 of the owning profile.Changes to the entry's setting values, applied as a JSON merge patch (RFC 7396).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
-
identifier
The identifier of the profile entry
- Parameters:
identifier- The identifier of the profile entry- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
profileIdentifier
The identifier of the owning profile.
- Parameters:
profileIdentifier- The identifier of the owning profile.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
A new name for the entry, unique within the profile.
- Parameters:
name- A new name for the entry, unique within the profile.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A new description of the entry's purpose. An empty string removes the description.
- Parameters:
description- A new description of the entry's purpose. An empty string removes the description.- 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. An empty string removes the entry's role, so the profile's default applies.
- Parameters:
executionRole- The IAM role an extension assumes when calling AWS services. The role must be assumable by the Cloud Extensions Runtime's principal. An empty string removes the entry's role, so the profile's default applies.- 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 UpdateProfileEntryRequest.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
Changes to the entry's setting values, applied as a JSON merge patch (RFC 7396). An omitted setting is unchanged, null removes a setting so it takes its default if it has one, an object merges into a group's stored values, and any other value replaces the stored one. An array replaces the whole stored array, and a null inside an array is rejected. Keys are the extension's setting ids and the merged values are validated against the extension's settings definitions.
- Parameters:
settings- Changes to the entry's setting values, applied as a JSON merge patch (RFC 7396). An omitted setting is unchanged, null removes a setting so it takes its default if it has one, an object merges into a group's stored values, and any other value replaces the stored one. An array replaces the whole stored array, and a null inside an array is rejected. Keys are the extension's setting ids and the merged values are validated against the extension's settings definitions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
approve
The complete list of capability paths to approve, replacing the entry's current approvals. A capability left out of the list is no longer approved. Omit approve to keep the current approvals.
- Parameters:
approve- The complete list of capability paths to approve, replacing the entry's current approvals. A capability left out of the list is no longer approved. Omit approve to keep the current approvals.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
approve
The complete list of capability paths to approve, replacing the entry's current approvals. A capability left out of the list is no longer approved. Omit approve to keep the current approvals.
- Parameters:
approve- The complete list of capability paths to approve, replacing the entry's current approvals. A capability left out of the list is no longer approved. Omit approve to keep the current approvals.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateProfileEntryRequest.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
UpdateProfileEntryRequest.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.
-