Interface ExtensionDefaults.Builder

  • Method Details

    • executionRole

      ExtensionDefaults.Builder executionRole(String executionRole)

      The IAM role an extension should assume when calling AWS services. This role must be assumable by the Cloud Extensions Runtime's principal. On update, an empty string removes the default role.

      Parameters:
      executionRole - The IAM role an extension should assume when calling AWS services. This role must be assumable by the Cloud Extensions Runtime's principal. On update, an empty string removes the default role.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • interfaceDefaults

      ExtensionDefaults.Builder interfaceDefaults(InterfaceDefaults interfaceDefaults)

      Default options for the interfaces of the extensions in this profile, by interface type.

      Parameters:
      interfaceDefaults - Default options for the interfaces of the extensions in this profile, by interface type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • interfaceDefaults

      default ExtensionDefaults.Builder interfaceDefaults(Consumer<InterfaceDefaults.Builder> interfaceDefaults)

      Default options for the interfaces of the extensions in this profile, by interface type.

      This is a convenience method that creates an instance of the InterfaceDefaults.Builder avoiding the need to create one manually via InterfaceDefaults.builder().

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

      Parameters:
      interfaceDefaults - a consumer that will call methods on InterfaceDefaults.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: