Interface ListHostedZoneAssociationsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListHostedZoneAssociationsResponse.Builder,,ListHostedZoneAssociationsResponse> Route53GlobalResolverResponse.Builder,SdkBuilder<ListHostedZoneAssociationsResponse.Builder,,ListHostedZoneAssociationsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListHostedZoneAssociationsResponse
@Mutable
@NotThreadSafe
public static interface ListHostedZoneAssociationsResponse.Builder
extends Route53GlobalResolverResponse.Builder, SdkPojo, CopyableBuilder<ListHostedZoneAssociationsResponse.Builder,ListHostedZoneAssociationsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionhostedZoneAssociations(Collection<HostedZoneAssociationSummary> hostedZoneAssociations) List of the private hosted zone associations.hostedZoneAssociations(Consumer<HostedZoneAssociationSummary.Builder>... hostedZoneAssociations) List of the private hosted zone associations.hostedZoneAssociations(HostedZoneAssociationSummary... hostedZoneAssociations) List of the private hosted zone associations.A pagination token used for large sets of results that can't be returned in a single response.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.route53globalresolver.model.Route53GlobalResolverResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
nextToken
A pagination token used for large sets of results that can't be returned in a single response. Provide this token in the next call to get the results not returned in this call.
- Parameters:
nextToken- A pagination token used for large sets of results that can't be returned in a single response. Provide this token in the next call to get the results not returned in this call.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hostedZoneAssociations
ListHostedZoneAssociationsResponse.Builder hostedZoneAssociations(Collection<HostedZoneAssociationSummary> hostedZoneAssociations) List of the private hosted zone associations.
- Parameters:
hostedZoneAssociations- List of the private hosted zone associations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hostedZoneAssociations
ListHostedZoneAssociationsResponse.Builder hostedZoneAssociations(HostedZoneAssociationSummary... hostedZoneAssociations) List of the private hosted zone associations.
- Parameters:
hostedZoneAssociations- List of the private hosted zone associations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hostedZoneAssociations
ListHostedZoneAssociationsResponse.Builder hostedZoneAssociations(Consumer<HostedZoneAssociationSummary.Builder>... hostedZoneAssociations) List of the private hosted zone associations.
This is a convenience method that creates an instance of theHostedZoneAssociationSummary.Builderavoiding the need to create one manually viaHostedZoneAssociationSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tohostedZoneAssociations(List<HostedZoneAssociationSummary>).- Parameters:
hostedZoneAssociations- a consumer that will call methods onHostedZoneAssociationSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-