Interface ListRegistrationAssociationsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListRegistrationAssociationsResponse.Builder,ListRegistrationAssociationsResponse>,PinpointSmsVoiceV2Response.Builder,SdkBuilder<ListRegistrationAssociationsResponse.Builder,ListRegistrationAssociationsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListRegistrationAssociationsResponse
public static interface ListRegistrationAssociationsResponse.Builder extends PinpointSmsVoiceV2Response.Builder, SdkPojo, CopyableBuilder<ListRegistrationAssociationsResponse.Builder,ListRegistrationAssociationsResponse>
-
-
Method Summary
-
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
-
registrationArn
ListRegistrationAssociationsResponse.Builder registrationArn(String 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
ListRegistrationAssociationsResponse.Builder registrationId(String 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
ListRegistrationAssociationsResponse.Builder registrationType(String 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 to#registrationAssociations(List.) - 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:
#registrationAssociations(java.util.Collection)
-
nextToken
ListRegistrationAssociationsResponse.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.
-
-