Interface ListDomainAssociationsResponse.Builder
- All Superinterfaces:
AmplifyResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<ListDomainAssociationsResponse.Builder,,ListDomainAssociationsResponse> SdkBuilder<ListDomainAssociationsResponse.Builder,,ListDomainAssociationsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListDomainAssociationsResponse
public static interface ListDomainAssociationsResponse.Builder
extends AmplifyResponse.Builder, SdkPojo, CopyableBuilder<ListDomainAssociationsResponse.Builder,ListDomainAssociationsResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondomainAssociations(Collection<DomainAssociation> domainAssociations) A list of domain associations.domainAssociations(Consumer<DomainAssociation.Builder>... domainAssociations) A list of domain associations.domainAssociations(DomainAssociation... domainAssociations) A list of domain associations.A pagination token.Methods inherited from interface software.amazon.awssdk.services.amplify.model.AmplifyResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods 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
-
domainAssociations
ListDomainAssociationsResponse.Builder domainAssociations(Collection<DomainAssociation> domainAssociations) A list of domain associations.
- Parameters:
domainAssociations- A list of domain associations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainAssociations
A list of domain associations.
- Parameters:
domainAssociations- A list of domain associations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainAssociations
ListDomainAssociationsResponse.Builder domainAssociations(Consumer<DomainAssociation.Builder>... domainAssociations) A list of domain associations.
This is a convenience method that creates an instance of theDomainAssociation.Builderavoiding the need to create one manually viaDomainAssociation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todomainAssociations(List<DomainAssociation>).- Parameters:
domainAssociations- a consumer that will call methods onDomainAssociation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
A pagination token. If non-null, a pagination token is returned in a result. Pass its value in another request to retrieve more entries.
- Parameters:
nextToken- A pagination token. If non-null, a pagination token is returned in a result. Pass its value in another request to retrieve more entries.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-