Interface CreateRegistrationVersionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateRegistrationVersionResponse.Builder,,CreateRegistrationVersionResponse> PinpointSmsVoiceV2Response.Builder,SdkBuilder<CreateRegistrationVersionResponse.Builder,,CreateRegistrationVersionResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CreateRegistrationVersionResponse
-
Method Summary
Modifier and TypeMethodDescriptionregistrationArn(String registrationArn) The Amazon Resource Name (ARN) for the registration.registrationId(String registrationId) The unique identifier for the registration.registrationVersionStatus(String registrationVersionStatus) The status of the registration.registrationVersionStatus(RegistrationVersionStatus registrationVersionStatus) The status of the registration.registrationVersionStatusHistory(Consumer<RegistrationVersionStatusHistory.Builder> registrationVersionStatusHistory) A RegistrationVersionStatusHistory object that contains timestamps for the registration.registrationVersionStatusHistory(RegistrationVersionStatusHistory registrationVersionStatusHistory) A RegistrationVersionStatusHistory object that contains timestamps for the registration.versionNumber(Long versionNumber) The new version number of the registration.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.
-
versionNumber
The new version number of the registration.
- Parameters:
versionNumber- The new version number of the registration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
registrationVersionStatus
CreateRegistrationVersionResponse.Builder registrationVersionStatus(String registrationVersionStatus) The status of the registration.
-
APPROVED: Your registration has been approved. -
ARCHIVED: Your previously approved registration version moves into this status when a more recently submitted version is approved. -
DENIED: You must fix your registration and resubmit it. -
DISCARDED: You've abandon this version of their registration to start over with a new version. -
DRAFT: The initial status of a registration version after it’s created. -
REQUIRES_AUTHENTICATION: You need to complete email authentication. -
REVIEWING: Your registration has been accepted and is being reviewed. -
REVOKED: Your previously approved registration has been revoked. -
SUBMITTED: Your registration has been submitted.
- Parameters:
registrationVersionStatus- The status of the registration.-
APPROVED: Your registration has been approved. -
ARCHIVED: Your previously approved registration version moves into this status when a more recently submitted version is approved. -
DENIED: You must fix your registration and resubmit it. -
DISCARDED: You've abandon this version of their registration to start over with a new version. -
DRAFT: The initial status of a registration version after it’s created. -
REQUIRES_AUTHENTICATION: You need to complete email authentication. -
REVIEWING: Your registration has been accepted and is being reviewed. -
REVOKED: Your previously approved registration has been revoked. -
SUBMITTED: Your registration has been submitted.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
registrationVersionStatus
CreateRegistrationVersionResponse.Builder registrationVersionStatus(RegistrationVersionStatus registrationVersionStatus) The status of the registration.
-
APPROVED: Your registration has been approved. -
ARCHIVED: Your previously approved registration version moves into this status when a more recently submitted version is approved. -
DENIED: You must fix your registration and resubmit it. -
DISCARDED: You've abandon this version of their registration to start over with a new version. -
DRAFT: The initial status of a registration version after it’s created. -
REQUIRES_AUTHENTICATION: You need to complete email authentication. -
REVIEWING: Your registration has been accepted and is being reviewed. -
REVOKED: Your previously approved registration has been revoked. -
SUBMITTED: Your registration has been submitted.
- Parameters:
registrationVersionStatus- The status of the registration.-
APPROVED: Your registration has been approved. -
ARCHIVED: Your previously approved registration version moves into this status when a more recently submitted version is approved. -
DENIED: You must fix your registration and resubmit it. -
DISCARDED: You've abandon this version of their registration to start over with a new version. -
DRAFT: The initial status of a registration version after it’s created. -
REQUIRES_AUTHENTICATION: You need to complete email authentication. -
REVIEWING: Your registration has been accepted and is being reviewed. -
REVOKED: Your previously approved registration has been revoked. -
SUBMITTED: Your registration has been submitted.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
registrationVersionStatusHistory
CreateRegistrationVersionResponse.Builder registrationVersionStatusHistory(RegistrationVersionStatusHistory registrationVersionStatusHistory) A RegistrationVersionStatusHistory object that contains timestamps for the registration.
- Parameters:
registrationVersionStatusHistory- A RegistrationVersionStatusHistory object that contains timestamps for the registration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
registrationVersionStatusHistory
default CreateRegistrationVersionResponse.Builder registrationVersionStatusHistory(Consumer<RegistrationVersionStatusHistory.Builder> registrationVersionStatusHistory) A RegistrationVersionStatusHistory object that contains timestamps for the registration.
This is a convenience method that creates an instance of theRegistrationVersionStatusHistory.Builderavoiding the need to create one manually viaRegistrationVersionStatusHistory.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toregistrationVersionStatusHistory(RegistrationVersionStatusHistory).- Parameters:
registrationVersionStatusHistory- a consumer that will call methods onRegistrationVersionStatusHistory.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-