Interface ListNotifyCountriesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListNotifyCountriesResponse.Builder,,ListNotifyCountriesResponse> PinpointSmsVoiceV2Response.Builder,SdkBuilder<ListNotifyCountriesResponse.Builder,,ListNotifyCountriesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListNotifyCountriesResponse
@Mutable
@NotThreadSafe
public static interface ListNotifyCountriesResponse.Builder
extends PinpointSmsVoiceV2Response.Builder, SdkPojo, CopyableBuilder<ListNotifyCountriesResponse.Builder,ListNotifyCountriesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe token to be used for the next set of paginated results.notifyCountries(Collection<NotifyCountryInformation> notifyCountries) An array of NotifyCountryInformation objects that contain the results.notifyCountries(Consumer<NotifyCountryInformation.Builder>... notifyCountries) An array of NotifyCountryInformation objects that contain the results.notifyCountries(NotifyCountryInformation... notifyCountries) An array of NotifyCountryInformation objects that contain the results.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.pinpointsmsvoicev2.model.PinpointSmsVoiceV2Response.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
notifyCountries
ListNotifyCountriesResponse.Builder notifyCountries(Collection<NotifyCountryInformation> notifyCountries) An array of NotifyCountryInformation objects that contain the results.
- Parameters:
notifyCountries- An array of NotifyCountryInformation objects that contain the results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notifyCountries
An array of NotifyCountryInformation objects that contain the results.
- Parameters:
notifyCountries- An array of NotifyCountryInformation objects that contain the results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notifyCountries
ListNotifyCountriesResponse.Builder notifyCountries(Consumer<NotifyCountryInformation.Builder>... notifyCountries) An array of NotifyCountryInformation objects that contain the results.
This is a convenience method that creates an instance of theNotifyCountryInformation.Builderavoiding the need to create one manually viaNotifyCountryInformation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tonotifyCountries(List<NotifyCountryInformation>).- Parameters:
notifyCountries- a consumer that will call methods onNotifyCountryInformation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token to be used for the next set of paginated results. If this field is empty then there are no more results.
- Parameters:
nextToken- The token to be used for the next set of paginated results. If this field is empty then there are no more results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-