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
copyMethods inherited from interface software.amazon.awssdk.services.route53domains.model.Route53DomainsResponse.Builder
build, responseMetadata, responseMetadataMethods 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
-
suggestionsList
A list of possible domain names. If you specified
trueforOnlyAvailablein the request, the list contains only domains that are available for registration.- Parameters:
suggestionsList- A list of possible domain names. If you specifiedtrueforOnlyAvailablein 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
trueforOnlyAvailablein the request, the list contains only domains that are available for registration.- Parameters:
suggestionsList- A list of possible domain names. If you specifiedtrueforOnlyAvailablein 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 thetrueforOnlyAvailablein the request, the list contains only domains that are available for registration.DomainSuggestion.Builderavoiding the need to create one manually viaDomainSuggestion.builder().When the
Consumercompletes,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:
-