Interface ListCustomDomainAssociationsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListCustomDomainAssociationsResponse.Builder,
,ListCustomDomainAssociationsResponse> RedshiftServerlessResponse.Builder
,SdkBuilder<ListCustomDomainAssociationsResponse.Builder,
,ListCustomDomainAssociationsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListCustomDomainAssociationsResponse
@Mutable
@NotThreadSafe
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.WhennextToken
is returned, there are more results available.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.redshiftserverless.model.RedshiftServerlessResponse.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, sdkFieldNameToField, sdkFields
Methods 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.Builder
avoiding the need to create one manually viaAssociation.builder()
.When the
Consumer
completes,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
nextToken
is returned, there are more results available. The value ofnextToken
is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page.- Parameters:
nextToken
- WhennextToken
is returned, there are more results available. The value ofnextToken
is 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.
-