Interface CreateRegistrationResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateRegistrationResponse.Builder,CreateRegistrationResponse>,PinpointSmsVoiceV2Response.Builder,SdkBuilder<CreateRegistrationResponse.Builder,CreateRegistrationResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- CreateRegistrationResponse
public static interface CreateRegistrationResponse.Builder extends PinpointSmsVoiceV2Response.Builder, SdkPojo, CopyableBuilder<CreateRegistrationResponse.Builder,CreateRegistrationResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateRegistrationResponse.BuilderadditionalAttributes(Map<String,String> additionalAttributes)Metadata about a given registration which is specific to that registration type.CreateRegistrationResponse.BuildercreatedTimestamp(Instant createdTimestamp)The time when the registration was created, in UNIX epoch time format.CreateRegistrationResponse.BuildercurrentVersionNumber(Long currentVersionNumber)The current version number of the registration.CreateRegistrationResponse.BuilderregistrationArn(String registrationArn)The Amazon Resource Name (ARN) for the registration.CreateRegistrationResponse.BuilderregistrationId(String registrationId)The unique identifier for the registration.CreateRegistrationResponse.BuilderregistrationStatus(String registrationStatus)The status of the registration.CreateRegistrationResponse.BuilderregistrationStatus(RegistrationStatus registrationStatus)The status of the registration.CreateRegistrationResponse.BuilderregistrationType(String registrationType)The type of registration form to create.CreateRegistrationResponse.Buildertags(Collection<Tag> tags)An array of tags (key and value pairs) to associate with the registration.CreateRegistrationResponse.Buildertags(Consumer<Tag.Builder>... tags)An array of tags (key and value pairs) to associate with the registration.CreateRegistrationResponse.Buildertags(Tag... tags)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 Detail
-
registrationArn
CreateRegistrationResponse.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
CreateRegistrationResponse.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
CreateRegistrationResponse.Builder registrationType(String 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
CreateRegistrationResponse.Builder registrationStatus(String 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,RegistrationStatus
-
-
registrationStatus
CreateRegistrationResponse.Builder registrationStatus(RegistrationStatus 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,RegistrationStatus
-
-
currentVersionNumber
CreateRegistrationResponse.Builder currentVersionNumber(Long 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
CreateRegistrationResponse.Builder additionalAttributes(Map<String,String> 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
CreateRegistrationResponse.Builder tags(Collection<Tag> 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
CreateRegistrationResponse.Builder tags(Tag... 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
CreateRegistrationResponse.Builder tags(Consumer<Tag.Builder>... 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.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - 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:
#tags(java.util.Collection)
-
createdTimestamp
CreateRegistrationResponse.Builder createdTimestamp(Instant 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.
-
-