Interface DescribeRegistrationsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeRegistrationsResponse.Builder,,DescribeRegistrationsResponse> PinpointSmsVoiceV2Response.Builder,SdkBuilder<DescribeRegistrationsResponse.Builder,,DescribeRegistrationsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeRegistrationsResponse
public static interface DescribeRegistrationsResponse.Builder
extends PinpointSmsVoiceV2Response.Builder, SdkPojo, CopyableBuilder<DescribeRegistrationsResponse.Builder,DescribeRegistrationsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe token to be used for the next set of paginated results.registrations(Collection<RegistrationInformation> registrations) An array of RegistrationInformation objects.registrations(Consumer<RegistrationInformation.Builder>... registrations) An array of RegistrationInformation objects.registrations(RegistrationInformation... registrations) An array of RegistrationInformation objects.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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
registrations
DescribeRegistrationsResponse.Builder registrations(Collection<RegistrationInformation> registrations) An array of RegistrationInformation objects.
- Parameters:
registrations- An array of RegistrationInformation objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
registrations
An array of RegistrationInformation objects.
- Parameters:
registrations- An array of RegistrationInformation objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
registrations
DescribeRegistrationsResponse.Builder registrations(Consumer<RegistrationInformation.Builder>... registrations) An array of RegistrationInformation objects.
This is a convenience method that creates an instance of theRegistrationInformation.Builderavoiding the need to create one manually viaRegistrationInformation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toregistrations(List<RegistrationInformation>).- Parameters:
registrations- a consumer that will call methods onRegistrationInformation.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. You don't need to supply a value for this field in the initial request.
- Parameters:
nextToken- The token to be used for the next set of paginated results. You don't need to supply a value for this field in the initial request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-