Interface CreateProfileEntryRequest.Builder

  • Method Details

    • profileIdentifier

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

      CreateProfileEntryRequest.Builder clientToken(String 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

      CreateProfileEntryRequest.Builder extensionIdentifier(String 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

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

      CreateProfileEntryRequest.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.

      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

      CreateProfileEntryRequest.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 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 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

      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.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.