Interface UpdateProfileEntryRequest.Builder

  • Method Details

    • identifier

      UpdateProfileEntryRequest.Builder identifier(String 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

      UpdateProfileEntryRequest.Builder profileIdentifier(String 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

      UpdateProfileEntryRequest.Builder description(String 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

      UpdateProfileEntryRequest.Builder executionRole(String 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

      UpdateProfileEntryRequest.Builder versionPolicy(VersionPolicy 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 the VersionPolicy.Builder avoiding the need to create one manually via VersionPolicy.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to versionPolicy(VersionPolicy).

      Parameters:
      versionPolicy - a consumer that will call methods on VersionPolicy.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.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.