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 Summary
Modifier and TypeMethodDescriptionapiKeyVersion
(String apiKeyVersion) The version of the API keys used for the account.cloudwatchRoleArn
(String cloudwatchRoleArn) The ARN of an Amazon CloudWatch role for the current Account.A list of features supported for the account.features
(Collection<String> features) A list of features supported for the account.default GetAccountResponse.Builder
throttleSettings
(Consumer<ThrottleSettings.Builder> throttleSettings) Specifies the API request limits configured for the current Account.throttleSettings
(ThrottleSettings throttleSettings) Specifies the API request limits configured for the current Account.Methods inherited from interface software.amazon.awssdk.services.apigateway.model.ApiGatewayResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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
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 theThrottleSettings.Builder
avoiding the need to create one manually viaThrottleSettings.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tothrottleSettings(ThrottleSettings)
.- Parameters:
throttleSettings
- a consumer that will call methods onThrottleSettings.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
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
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.
-