Interface GetHostedZoneLimitResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetHostedZoneLimitResponse.Builder,
,GetHostedZoneLimitResponse> Route53Response.Builder
,SdkBuilder<GetHostedZoneLimitResponse.Builder,
,GetHostedZoneLimitResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetHostedZoneLimitResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe current number of entities that you have created of the specified type.limit
(Consumer<HostedZoneLimit.Builder> limit) The current setting for the specified limit.limit
(HostedZoneLimit 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 Details
-
limit
The current setting for the specified limit. For example, if you specified
MAX_RRSETS_BY_ZONE
for the value ofType
in the request, the value ofLimit
is the maximum number of records that you can create in the specified hosted zone.- Parameters:
limit
- The current setting for the specified limit. For example, if you specifiedMAX_RRSETS_BY_ZONE
for the value ofType
in the request, the value ofLimit
is the maximum number of records that you can create in the specified hosted zone.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
limit
The current setting for the specified limit. For example, if you specified
This is a convenience method that creates an instance of theMAX_RRSETS_BY_ZONE
for the value ofType
in the request, the value ofLimit
is the maximum number of records that you can create in the specified hosted zone.HostedZoneLimit.Builder
avoiding the need to create one manually viaHostedZoneLimit.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolimit(HostedZoneLimit)
.- Parameters:
limit
- a consumer that will call methods onHostedZoneLimit.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
count
The current number of entities that you have created of the specified type. For example, if you specified
MAX_RRSETS_BY_ZONE
for the value ofType
in the request, the value ofCount
is the current number of records that you have created in the specified hosted zone.- Parameters:
count
- The current number of entities that you have created of the specified type. For example, if you specifiedMAX_RRSETS_BY_ZONE
for the value ofType
in the request, the value ofCount
is the current number of records that you have created in the specified hosted zone.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-