Interface CreateRegistrationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CreateRegistrationResponse.Builder,
,CreateRegistrationResponse> PinpointSmsVoiceV2Response.Builder
,SdkBuilder<CreateRegistrationResponse.Builder,
,CreateRegistrationResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
CreateRegistrationResponse
-
Method Summary
Modifier and TypeMethodDescriptionadditionalAttributes
(Map<String, String> additionalAttributes) Metadata about a given registration which is specific to that registration type.createdTimestamp
(Instant createdTimestamp) The time when the registration was created, in UNIX epoch time format.currentVersionNumber
(Long currentVersionNumber) The current version number of the registration.registrationArn
(String registrationArn) The Amazon Resource Name (ARN) for the registration.registrationId
(String registrationId) The unique identifier for the registration.registrationStatus
(String registrationStatus) The status of the registration.registrationStatus
(RegistrationStatus registrationStatus) The status of the registration.registrationType
(String registrationType) The type of registration form to create.tags
(Collection<Tag> tags) An array of tags (key and value pairs) to associate with the registration.tags
(Consumer<Tag.Builder>... tags) An array of tags (key and value pairs) to associate with the registration.An array of tags (key and value pairs) to associate with the registration.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.
-
registrationType
The type of registration form to create. The list of RegistrationTypes can be found using the DescribeRegistrationTypeDefinitions action.
- Parameters:
registrationType
- The type of registration form to create. 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.
-
registrationStatus
The status of the registration.
-
CREATED
: Your registration is created but not submitted. -
SUBMITTED
: Your registration has been submitted and is awaiting review. -
REVIEWING
: Your registration has been accepted and is being reviewed. -
PROVISIONING
: Your registration has been approved and your origination identity is being created. -
COMPLETE
: Your registration has been approved and and your origination identity has been created. -
REQUIRES_UPDATES
: You must fix your registration and resubmit it. -
CLOSED
: The phone number or sender ID has been deleted and you must also delete the registration for the number. -
DELETED
: The registration has been deleted.
- Parameters:
registrationStatus
- The status of the registration.-
CREATED
: Your registration is created but not submitted. -
SUBMITTED
: Your registration has been submitted and is awaiting review. -
REVIEWING
: Your registration has been accepted and is being reviewed. -
PROVISIONING
: Your registration has been approved and your origination identity is being created. -
COMPLETE
: Your registration has been approved and and your origination identity has been created. -
REQUIRES_UPDATES
: You must fix your registration and resubmit it. -
CLOSED
: The phone number or sender ID has been deleted and you must also delete the registration for the number. -
DELETED
: The registration has been deleted.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
registrationStatus
The status of the registration.
-
CREATED
: Your registration is created but not submitted. -
SUBMITTED
: Your registration has been submitted and is awaiting review. -
REVIEWING
: Your registration has been accepted and is being reviewed. -
PROVISIONING
: Your registration has been approved and your origination identity is being created. -
COMPLETE
: Your registration has been approved and and your origination identity has been created. -
REQUIRES_UPDATES
: You must fix your registration and resubmit it. -
CLOSED
: The phone number or sender ID has been deleted and you must also delete the registration for the number. -
DELETED
: The registration has been deleted.
- Parameters:
registrationStatus
- The status of the registration.-
CREATED
: Your registration is created but not submitted. -
SUBMITTED
: Your registration has been submitted and is awaiting review. -
REVIEWING
: Your registration has been accepted and is being reviewed. -
PROVISIONING
: Your registration has been approved and your origination identity is being created. -
COMPLETE
: Your registration has been approved and and your origination identity has been created. -
REQUIRES_UPDATES
: You must fix your registration and resubmit it. -
CLOSED
: The phone number or sender ID has been deleted and you must also delete the registration for the number. -
DELETED
: The registration has been deleted.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
currentVersionNumber
The current version number of the registration.
- Parameters:
currentVersionNumber
- The current version number of the registration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
additionalAttributes
Metadata about a given registration which is specific to that registration type.
- Parameters:
additionalAttributes
- Metadata about a given registration which is specific to that registration type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
An array of tags (key and value pairs) to associate with the registration.
- Parameters:
tags
- An array of tags (key and value pairs) to associate with the registration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
An array of tags (key and value pairs) to associate with the registration.
- Parameters:
tags
- An array of tags (key and value pairs) to associate with the registration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
An array of tags (key and value pairs) to associate with the registration.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdTimestamp
The time when the registration was created, in UNIX epoch time format.
- Parameters:
createdTimestamp
- The time when the registration was created, in UNIX epoch time format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-