Interface DescribeNotifyTemplatesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeNotifyTemplatesResponse.Builder,,DescribeNotifyTemplatesResponse> PinpointSmsVoiceV2Response.Builder,SdkBuilder<DescribeNotifyTemplatesResponse.Builder,,DescribeNotifyTemplatesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeNotifyTemplatesResponse
@Mutable
@NotThreadSafe
public static interface DescribeNotifyTemplatesResponse.Builder
extends PinpointSmsVoiceV2Response.Builder, SdkPojo, CopyableBuilder<DescribeNotifyTemplatesResponse.Builder,DescribeNotifyTemplatesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe token to be used for the next set of paginated results.notifyTemplates(Collection<NotifyTemplateInformation> notifyTemplates) An array of NotifyTemplateInformation objects that contain the results.notifyTemplates(Consumer<NotifyTemplateInformation.Builder>... notifyTemplates) An array of NotifyTemplateInformation objects that contain the results.notifyTemplates(NotifyTemplateInformation... notifyTemplates) An array of NotifyTemplateInformation 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
-
notifyTemplates
DescribeNotifyTemplatesResponse.Builder notifyTemplates(Collection<NotifyTemplateInformation> notifyTemplates) An array of NotifyTemplateInformation objects that contain the results.
- Parameters:
notifyTemplates- An array of NotifyTemplateInformation objects that contain the results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notifyTemplates
DescribeNotifyTemplatesResponse.Builder notifyTemplates(NotifyTemplateInformation... notifyTemplates) An array of NotifyTemplateInformation objects that contain the results.
- Parameters:
notifyTemplates- An array of NotifyTemplateInformation objects that contain the results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notifyTemplates
DescribeNotifyTemplatesResponse.Builder notifyTemplates(Consumer<NotifyTemplateInformation.Builder>... notifyTemplates) An array of NotifyTemplateInformation objects that contain the results.
This is a convenience method that creates an instance of theNotifyTemplateInformation.Builderavoiding the need to create one manually viaNotifyTemplateInformation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tonotifyTemplates(List<NotifyTemplateInformation>).- Parameters:
notifyTemplates- a consumer that will call methods onNotifyTemplateInformation.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.
-