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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeRegistrationsResponse.BuildernextToken(String nextToken)The token to be used for the next set of paginated results.DescribeRegistrationsResponse.Builderregistrations(Collection<RegistrationInformation> registrations)An array of RegistrationInformation objects.DescribeRegistrationsResponse.Builderregistrations(Consumer<RegistrationInformation.Builder>... registrations)An array of RegistrationInformation objects.DescribeRegistrationsResponse.Builderregistrations(RegistrationInformation... registrations)An array of RegistrationInformation objects.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.pinpointsmsvoicev2.model.PinpointSmsVoiceV2Response.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 Detail
-
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
DescribeRegistrationsResponse.Builder registrations(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
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 to#registrations(List.) - 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:
#registrations(java.util.Collection)
-
nextToken
DescribeRegistrationsResponse.Builder nextToken(String 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.
-
-