Interface GetAccountResponse.Builder

All Superinterfaces:
ApiGatewayResponse.Builder, AwsResponse.Builder, Buildable, CopyableBuilder<GetAccountResponse.Builder,GetAccountResponse>, SdkBuilder<GetAccountResponse.Builder,GetAccountResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
GetAccountResponse

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

    • cloudwatchRoleArn

      GetAccountResponse.Builder cloudwatchRoleArn(String cloudwatchRoleArn)

      The ARN of an Amazon CloudWatch role for the current Account.

      Parameters:
      cloudwatchRoleArn - The ARN of an Amazon CloudWatch role for the current Account.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • throttleSettings

      GetAccountResponse.Builder throttleSettings(ThrottleSettings throttleSettings)

      Specifies the API request limits configured for the current Account.

      Parameters:
      throttleSettings - Specifies the API request limits configured for the current Account.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • throttleSettings

      default GetAccountResponse.Builder throttleSettings(Consumer<ThrottleSettings.Builder> throttleSettings)

      Specifies the API request limits configured for the current Account.

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

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

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

      A list of features supported for the account. When usage plans are enabled, the features list will include an entry of "UsagePlans".

      Parameters:
      features - A list of features supported for the account. When usage plans are enabled, the features list will include an entry of "UsagePlans".
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • features

      GetAccountResponse.Builder features(String... features)

      A list of features supported for the account. When usage plans are enabled, the features list will include an entry of "UsagePlans".

      Parameters:
      features - A list of features supported for the account. When usage plans are enabled, the features list will include an entry of "UsagePlans".
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • apiKeyVersion

      GetAccountResponse.Builder apiKeyVersion(String apiKeyVersion)

      The version of the API keys used for the account.

      Parameters:
      apiKeyVersion - The version of the API keys used for the account.
      Returns:
      Returns a reference to this object so that method calls can be chained together.