Interface AuthorizationConfig.Builder

All Superinterfaces:
Buildable, CopyableBuilder<AuthorizationConfig.Builder,AuthorizationConfig>, SdkBuilder<AuthorizationConfig.Builder,AuthorizationConfig>, SdkPojo
Enclosing class:
AuthorizationConfig

public static interface AuthorizationConfig.Builder extends SdkPojo, CopyableBuilder<AuthorizationConfig.Builder,AuthorizationConfig>
  • Method Details

    • authorizationType

      AuthorizationConfig.Builder authorizationType(String authorizationType)

      The authorization type that the HTTP endpoint requires.

      • AWS_IAM: The authorization type is Signature Version 4 (SigV4).

      Parameters:
      authorizationType - The authorization type that the HTTP endpoint requires.

      • AWS_IAM: The authorization type is Signature Version 4 (SigV4).

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • authorizationType

      AuthorizationConfig.Builder authorizationType(AuthorizationType authorizationType)

      The authorization type that the HTTP endpoint requires.

      • AWS_IAM: The authorization type is Signature Version 4 (SigV4).

      Parameters:
      authorizationType - The authorization type that the HTTP endpoint requires.

      • AWS_IAM: The authorization type is Signature Version 4 (SigV4).

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • awsIamConfig

      AuthorizationConfig.Builder awsIamConfig(AwsIamConfig awsIamConfig)

      The Identity and Access Management (IAM) settings.

      Parameters:
      awsIamConfig - The Identity and Access Management (IAM) settings.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • awsIamConfig

      default AuthorizationConfig.Builder awsIamConfig(Consumer<AwsIamConfig.Builder> awsIamConfig)

      The Identity and Access Management (IAM) settings.

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

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

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