Interface UpdateDomainNameResponse.Builder
- All Superinterfaces:
AppSyncResponse.Builder
,AwsResponse.Builder
,Buildable
,CopyableBuilder<UpdateDomainNameResponse.Builder,
,UpdateDomainNameResponse> SdkBuilder<UpdateDomainNameResponse.Builder,
,UpdateDomainNameResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
UpdateDomainNameResponse
public static interface UpdateDomainNameResponse.Builder
extends AppSyncResponse.Builder, SdkPojo, CopyableBuilder<UpdateDomainNameResponse.Builder,UpdateDomainNameResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault UpdateDomainNameResponse.Builder
domainNameConfig
(Consumer<DomainNameConfig.Builder> domainNameConfig) The configuration for theDomainName
.domainNameConfig
(DomainNameConfig domainNameConfig) The configuration for theDomainName
.Methods inherited from interface software.amazon.awssdk.services.appsync.model.AppSyncResponse.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
-
domainNameConfig
The configuration for the
DomainName
.- Parameters:
domainNameConfig
- The configuration for theDomainName
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainNameConfig
default UpdateDomainNameResponse.Builder domainNameConfig(Consumer<DomainNameConfig.Builder> domainNameConfig) The configuration for the
This is a convenience method that creates an instance of theDomainName
.DomainNameConfig.Builder
avoiding the need to create one manually viaDomainNameConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todomainNameConfig(DomainNameConfig)
.- Parameters:
domainNameConfig
- a consumer that will call methods onDomainNameConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-