Interface DescribeRegistrationVersionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeRegistrationVersionsResponse.Builder,
,DescribeRegistrationVersionsResponse> PinpointSmsVoiceV2Response.Builder
,SdkBuilder<DescribeRegistrationVersionsResponse.Builder,
,DescribeRegistrationVersionsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeRegistrationVersionsResponse
public static interface DescribeRegistrationVersionsResponse.Builder
extends PinpointSmsVoiceV2Response.Builder, SdkPojo, CopyableBuilder<DescribeRegistrationVersionsResponse.Builder,DescribeRegistrationVersionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe token to be used for the next set of paginated results.registrationArn
(String registrationArn) The Amazon Resource Name (ARN) for the registration.registrationId
(String registrationId) The unique identifier for the registration.registrationVersions
(Collection<RegistrationVersionInformation> registrationVersions) An array of RegistrationVersions objects.registrationVersions
(Consumer<RegistrationVersionInformation.Builder>... registrationVersions) An array of RegistrationVersions objects.registrationVersions
(RegistrationVersionInformation... registrationVersions) An array of RegistrationVersions 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 Details
-
registrationArn
The Amazon Resource Name (ARN) for the registration.
- Parameters:
registrationArn
- The Amazon Resource Name (ARN) for the registration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
registrationId
The unique identifier for the registration.
- Parameters:
registrationId
- The unique identifier for the registration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
registrationVersions
DescribeRegistrationVersionsResponse.Builder registrationVersions(Collection<RegistrationVersionInformation> registrationVersions) An array of RegistrationVersions objects.
- Parameters:
registrationVersions
- An array of RegistrationVersions objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
registrationVersions
DescribeRegistrationVersionsResponse.Builder registrationVersions(RegistrationVersionInformation... registrationVersions) An array of RegistrationVersions objects.
- Parameters:
registrationVersions
- An array of RegistrationVersions objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
registrationVersions
DescribeRegistrationVersionsResponse.Builder registrationVersions(Consumer<RegistrationVersionInformation.Builder>... registrationVersions) An array of RegistrationVersions objects.
This is a convenience method that creates an instance of theRegistrationVersionInformation.Builder
avoiding the need to create one manually viaRegistrationVersionInformation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toregistrationVersions(List<RegistrationVersionInformation>)
.- Parameters:
registrationVersions
- a consumer that will call methods onRegistrationVersionInformation.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.
-