Interface GetAccountLimitResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetAccountLimitResponse.Builder,GetAccountLimitResponse>,Route53Response.Builder,SdkBuilder<GetAccountLimitResponse.Builder,GetAccountLimitResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetAccountLimitResponse
public static interface GetAccountLimitResponse.Builder extends Route53Response.Builder, SdkPojo, CopyableBuilder<GetAccountLimitResponse.Builder,GetAccountLimitResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description GetAccountLimitResponse.Buildercount(Long count)The current number of entities that you have created of the specified type.default GetAccountLimitResponse.Builderlimit(Consumer<AccountLimit.Builder> limit)The current setting for the specified limit.GetAccountLimitResponse.Builderlimit(AccountLimit limit)The current setting for the specified limit.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.route53.model.Route53Response.Builder
build, responseMetadata, responseMetadata
-
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 Detail
-
limit
GetAccountLimitResponse.Builder limit(AccountLimit limit)
The current setting for the specified limit. For example, if you specified
MAX_HEALTH_CHECKS_BY_OWNERfor the value ofTypein the request, the value ofLimitis the maximum number of health checks that you can create using the current account.- Parameters:
limit- The current setting for the specified limit. For example, if you specifiedMAX_HEALTH_CHECKS_BY_OWNERfor the value ofTypein the request, the value ofLimitis the maximum number of health checks that you can create using the current account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
limit
default GetAccountLimitResponse.Builder limit(Consumer<AccountLimit.Builder> limit)
The current setting for the specified limit. For example, if you specified
This is a convenience method that creates an instance of theMAX_HEALTH_CHECKS_BY_OWNERfor the value ofTypein the request, the value ofLimitis the maximum number of health checks that you can create using the current account.AccountLimit.Builderavoiding the need to create one manually viaAccountLimit.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolimit(AccountLimit).- Parameters:
limit- a consumer that will call methods onAccountLimit.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
limit(AccountLimit)
-
count
GetAccountLimitResponse.Builder count(Long count)
The current number of entities that you have created of the specified type. For example, if you specified
MAX_HEALTH_CHECKS_BY_OWNERfor the value ofTypein the request, the value ofCountis the current number of health checks that you have created using the current account.- Parameters:
count- The current number of entities that you have created of the specified type. For example, if you specifiedMAX_HEALTH_CHECKS_BY_OWNERfor the value ofTypein the request, the value ofCountis the current number of health checks that you have created using the current account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-