Interface ListRegistrationAssociationsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListRegistrationAssociationsResponse.Builder,,ListRegistrationAssociationsResponse> PinpointSmsVoiceV2Response.Builder,SdkBuilder<ListRegistrationAssociationsResponse.Builder,,ListRegistrationAssociationsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListRegistrationAssociationsResponse
@Mutable
@NotThreadSafe
public static interface ListRegistrationAssociationsResponse.Builder
extends PinpointSmsVoiceV2Response.Builder, SdkPojo, CopyableBuilder<ListRegistrationAssociationsResponse.Builder,ListRegistrationAssociationsResponse>
-
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.registrationAssociations(Collection<RegistrationAssociationMetadata> registrationAssociations) An array of RegistrationAssociationMetadata objects.registrationAssociations(Consumer<RegistrationAssociationMetadata.Builder>... registrationAssociations) An array of RegistrationAssociationMetadata objects.registrationAssociations(RegistrationAssociationMetadata... registrationAssociations) An array of RegistrationAssociationMetadata objects.registrationId(String registrationId) The unique identifier for the registration.registrationType(String registrationType) The type of registration form.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
-
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.
-
registrationType
The type of registration form. The list of RegistrationTypes can be found using the DescribeRegistrationTypeDefinitions action.
- Parameters:
registrationType- The type of registration form. The list of RegistrationTypes can be found using the DescribeRegistrationTypeDefinitions action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
registrationAssociations
ListRegistrationAssociationsResponse.Builder registrationAssociations(Collection<RegistrationAssociationMetadata> registrationAssociations) An array of RegistrationAssociationMetadata objects.
- Parameters:
registrationAssociations- An array of RegistrationAssociationMetadata objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
registrationAssociations
ListRegistrationAssociationsResponse.Builder registrationAssociations(RegistrationAssociationMetadata... registrationAssociations) An array of RegistrationAssociationMetadata objects.
- Parameters:
registrationAssociations- An array of RegistrationAssociationMetadata objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
registrationAssociations
ListRegistrationAssociationsResponse.Builder registrationAssociations(Consumer<RegistrationAssociationMetadata.Builder>... registrationAssociations) An array of RegistrationAssociationMetadata objects.
This is a convenience method that creates an instance of theRegistrationAssociationMetadata.Builderavoiding the need to create one manually viaRegistrationAssociationMetadata.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toregistrationAssociations(List<RegistrationAssociationMetadata>).- Parameters:
registrationAssociations- a consumer that will call methods onRegistrationAssociationMetadata.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.
-