Interface ListDomainAssociationsForAccountResponse.Builder
- All Superinterfaces:
AmplifyGen3Response.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<ListDomainAssociationsForAccountResponse.Builder,,ListDomainAssociationsForAccountResponse> SdkBuilder<ListDomainAssociationsForAccountResponse.Builder,,ListDomainAssociationsForAccountResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListDomainAssociationsForAccountResponse
@Mutable
@NotThreadSafe
public static interface ListDomainAssociationsForAccountResponse.Builder
extends AmplifyGen3Response.Builder, SdkPojo, CopyableBuilder<ListDomainAssociationsForAccountResponse.Builder,ListDomainAssociationsForAccountResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondomainAssociations(Collection<DomainAssociationAccountSummary> domainAssociations) The domain associations.domainAssociations(Consumer<DomainAssociationAccountSummary.Builder>... domainAssociations) The domain associations.domainAssociations(DomainAssociationAccountSummary... domainAssociations) The domain associations.The pagination token returned in a previous response, used to retrieve the next page of results.Methods inherited from interface software.amazon.awssdk.services.amplifygen3.model.AmplifyGen3Response.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, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
domainAssociations
ListDomainAssociationsForAccountResponse.Builder domainAssociations(Collection<DomainAssociationAccountSummary> domainAssociations) The domain associations.
- Parameters:
domainAssociations- The domain associations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainAssociations
ListDomainAssociationsForAccountResponse.Builder domainAssociations(DomainAssociationAccountSummary... domainAssociations) The domain associations.
- Parameters:
domainAssociations- The domain associations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainAssociations
ListDomainAssociationsForAccountResponse.Builder domainAssociations(Consumer<DomainAssociationAccountSummary.Builder>... domainAssociations) The domain associations.
This is a convenience method that creates an instance of theDomainAssociationAccountSummary.Builderavoiding the need to create one manually viaDomainAssociationAccountSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todomainAssociations(List<DomainAssociationAccountSummary>).- Parameters:
domainAssociations- a consumer that will call methods onDomainAssociationAccountSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The pagination token returned in a previous response, used to retrieve the next page of results.
- Parameters:
nextToken- The pagination token returned in a previous response, used to retrieve the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-