Interface ListCustomDomainAssociationsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListCustomDomainAssociationsResponse.Builder,,ListCustomDomainAssociationsResponse> RedshiftServerlessResponse.Builder,SdkBuilder<ListCustomDomainAssociationsResponse.Builder,,ListCustomDomainAssociationsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListCustomDomainAssociationsResponse
public static interface ListCustomDomainAssociationsResponse.Builder
extends RedshiftServerlessResponse.Builder, SdkPojo, CopyableBuilder<ListCustomDomainAssociationsResponse.Builder,ListCustomDomainAssociationsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionassociations(Collection<Association> associations) A list of Association objects.associations(Consumer<Association.Builder>... associations) A list of Association objects.associations(Association... associations) A list of Association objects.WhennextTokenis returned, there are more results available.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.redshiftserverless.model.RedshiftServerlessResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
associations
A list of Association objects.
- Parameters:
associations- A list of Association objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associations
A list of Association objects.
- Parameters:
associations- A list of Association objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associations
ListCustomDomainAssociationsResponse.Builder associations(Consumer<Association.Builder>... associations) A list of Association objects.
This is a convenience method that creates an instance of theAssociation.Builderavoiding the need to create one manually viaAssociation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toassociations(List<Association>).- Parameters:
associations- a consumer that will call methods onAssociation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
When
nextTokenis returned, there are more results available. The value ofnextTokenis a unique pagination token for each page. Make the call again using the returned token to retrieve the next page.- Parameters:
nextToken- WhennextTokenis returned, there are more results available. The value ofnextTokenis a unique pagination token for each page. Make the call again using the returned token to retrieve the next page.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-