Interface CreateDomainAssociationResponse.Builder
- All Superinterfaces:
AmplifyResponse.Builder
,AwsResponse.Builder
,Buildable
,CopyableBuilder<CreateDomainAssociationResponse.Builder,
,CreateDomainAssociationResponse> SdkBuilder<CreateDomainAssociationResponse.Builder,
,CreateDomainAssociationResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
CreateDomainAssociationResponse
public static interface CreateDomainAssociationResponse.Builder
extends AmplifyResponse.Builder, SdkPojo, CopyableBuilder<CreateDomainAssociationResponse.Builder,CreateDomainAssociationResponse>
-
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, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods 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 CreateDomainAssociationResponse.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.Builder
avoiding the need to create one manually viaDomainAssociation.builder()
.When the
Consumer
completes,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:
-