Interface GetDomainAssociationResponse.Builder
- All Superinterfaces:
AmplifyResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<GetDomainAssociationResponse.Builder,,GetDomainAssociationResponse> SdkBuilder<GetDomainAssociationResponse.Builder,,GetDomainAssociationResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetDomainAssociationResponse
public static interface GetDomainAssociationResponse.Builder
extends AmplifyResponse.Builder, SdkPojo, CopyableBuilder<GetDomainAssociationResponse.Builder,GetDomainAssociationResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondomainAssociation(Consumer<DomainAssociation.Builder> domainAssociation) Describes the structure of a domain association, which associates a custom domain with an Amplify app.domainAssociation(DomainAssociation domainAssociation) Describes the structure of 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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
domainAssociation
Describes the structure of a domain association, which associates a custom domain with an Amplify app.
- Parameters:
domainAssociation- Describes the structure of 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 GetDomainAssociationResponse.Builder domainAssociation(Consumer<DomainAssociation.Builder> domainAssociation) Describes the structure of 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:
-