Interface UpdateDomainAssociationResponse.Builder
- All Superinterfaces:
AmplifyResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<UpdateDomainAssociationResponse.Builder,,UpdateDomainAssociationResponse> SdkBuilder<UpdateDomainAssociationResponse.Builder,,UpdateDomainAssociationResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
UpdateDomainAssociationResponse
@Mutable
@NotThreadSafe
public static interface UpdateDomainAssociationResponse.Builder
extends AmplifyResponse.Builder, SdkPojo, CopyableBuilder<UpdateDomainAssociationResponse.Builder,UpdateDomainAssociationResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondomainAssociation(Consumer<DomainAssociation.Builder> domainAssociation) Describes a domain association, which associates a custom domain with an Amplify app.domainAssociation(DomainAssociation domainAssociation) Describes a domain association, which associates a custom domain with an Amplify app.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, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
domainAssociation
Describes a domain association, which associates a custom domain with an Amplify app.
- Parameters:
domainAssociation- Describes a domain association, which associates a custom domain with an Amplify app.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainAssociation
default UpdateDomainAssociationResponse.Builder domainAssociation(Consumer<DomainAssociation.Builder> domainAssociation) Describes a domain association, which associates a custom domain with an Amplify app.
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 todomainAssociation(DomainAssociation).- Parameters:
domainAssociation- 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:
-