Interface GetDomainSuggestionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetDomainSuggestionsResponse.Builder,
,GetDomainSuggestionsResponse> Route53DomainsResponse.Builder
,SdkBuilder<GetDomainSuggestionsResponse.Builder,
,GetDomainSuggestionsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetDomainSuggestionsResponse
public static interface GetDomainSuggestionsResponse.Builder
extends Route53DomainsResponse.Builder, SdkPojo, CopyableBuilder<GetDomainSuggestionsResponse.Builder,GetDomainSuggestionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionsuggestionsList
(Collection<DomainSuggestion> suggestionsList) A list of possible domain names.suggestionsList
(Consumer<DomainSuggestion.Builder>... suggestionsList) A list of possible domain names.suggestionsList
(DomainSuggestion... suggestionsList) A list of possible domain names.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.route53domains.model.Route53DomainsResponse.Builder
build, responseMetadata, responseMetadata
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
-
suggestionsList
A list of possible domain names. If you specified
true
forOnlyAvailable
in the request, the list contains only domains that are available for registration.- Parameters:
suggestionsList
- A list of possible domain names. If you specifiedtrue
forOnlyAvailable
in the request, the list contains only domains that are available for registration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
suggestionsList
A list of possible domain names. If you specified
true
forOnlyAvailable
in the request, the list contains only domains that are available for registration.- Parameters:
suggestionsList
- A list of possible domain names. If you specifiedtrue
forOnlyAvailable
in the request, the list contains only domains that are available for registration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
suggestionsList
GetDomainSuggestionsResponse.Builder suggestionsList(Consumer<DomainSuggestion.Builder>... suggestionsList) A list of possible domain names. If you specified
This is a convenience method that creates an instance of thetrue
forOnlyAvailable
in the request, the list contains only domains that are available for registration.DomainSuggestion.Builder
avoiding the need to create one manually viaDomainSuggestion.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosuggestionsList(List<DomainSuggestion>)
.- Parameters:
suggestionsList
- a consumer that will call methods onDomainSuggestion.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-