Interface DiscardRegistrationVersionResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DiscardRegistrationVersionResponse.Builder,DiscardRegistrationVersionResponse>,PinpointSmsVoiceV2Response.Builder,SdkBuilder<DiscardRegistrationVersionResponse.Builder,DiscardRegistrationVersionResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DiscardRegistrationVersionResponse
public static interface DiscardRegistrationVersionResponse.Builder extends PinpointSmsVoiceV2Response.Builder, SdkPojo, CopyableBuilder<DiscardRegistrationVersionResponse.Builder,DiscardRegistrationVersionResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DiscardRegistrationVersionResponse.BuilderregistrationArn(String registrationArn)The Amazon Resource Name (ARN) for the registration.DiscardRegistrationVersionResponse.BuilderregistrationId(String registrationId)The unique identifier for the registration.DiscardRegistrationVersionResponse.BuilderregistrationVersionStatus(String registrationVersionStatus)The status of the registration version.DiscardRegistrationVersionResponse.BuilderregistrationVersionStatus(RegistrationVersionStatus registrationVersionStatus)The status of the registration version.default DiscardRegistrationVersionResponse.BuilderregistrationVersionStatusHistory(Consumer<RegistrationVersionStatusHistory.Builder> registrationVersionStatusHistory)The RegistrationVersionStatusHistory object contains the time stamps for when the reservations status changes.DiscardRegistrationVersionResponse.BuilderregistrationVersionStatusHistory(RegistrationVersionStatusHistory registrationVersionStatusHistory)The RegistrationVersionStatusHistory object contains the time stamps for when the reservations status changes.DiscardRegistrationVersionResponse.BuilderversionNumber(Long versionNumber)The version number of 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
DiscardRegistrationVersionResponse.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
DiscardRegistrationVersionResponse.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.
-
versionNumber
DiscardRegistrationVersionResponse.Builder versionNumber(Long versionNumber)
The version number of the registration.
- Parameters:
versionNumber- The version number of the registration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
registrationVersionStatus
DiscardRegistrationVersionResponse.Builder registrationVersionStatus(String registrationVersionStatus)
The status of the registration version.
-
DRAFT: The initial status of a registration version after it’s created. -
SUBMITTED: Your registration has been submitted. -
REVIEWING: Your registration has been accepted and is being reviewed. -
APPROVED: Your registration has been approved. -
DISCARDED: You've abandon this version of their registration to start over with a new version. -
DENIED: You must fix your registration and resubmit it. -
REVOKED: Your previously approved registration has been revoked. -
ARCHIVED: Your previously approved registration version moves into this status when a more recently submitted version is approved.
- Parameters:
registrationVersionStatus- The status of the registration version.-
DRAFT: The initial status of a registration version after it’s created. -
SUBMITTED: Your registration has been submitted. -
REVIEWING: Your registration has been accepted and is being reviewed. -
APPROVED: Your registration has been approved. -
DISCARDED: You've abandon this version of their registration to start over with a new version. -
DENIED: You must fix your registration and resubmit it. -
REVOKED: Your previously approved registration has been revoked. -
ARCHIVED: Your previously approved registration version moves into this status when a more recently submitted version is approved.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RegistrationVersionStatus,RegistrationVersionStatus
-
-
registrationVersionStatus
DiscardRegistrationVersionResponse.Builder registrationVersionStatus(RegistrationVersionStatus registrationVersionStatus)
The status of the registration version.
-
DRAFT: The initial status of a registration version after it’s created. -
SUBMITTED: Your registration has been submitted. -
REVIEWING: Your registration has been accepted and is being reviewed. -
APPROVED: Your registration has been approved. -
DISCARDED: You've abandon this version of their registration to start over with a new version. -
DENIED: You must fix your registration and resubmit it. -
REVOKED: Your previously approved registration has been revoked. -
ARCHIVED: Your previously approved registration version moves into this status when a more recently submitted version is approved.
- Parameters:
registrationVersionStatus- The status of the registration version.-
DRAFT: The initial status of a registration version after it’s created. -
SUBMITTED: Your registration has been submitted. -
REVIEWING: Your registration has been accepted and is being reviewed. -
APPROVED: Your registration has been approved. -
DISCARDED: You've abandon this version of their registration to start over with a new version. -
DENIED: You must fix your registration and resubmit it. -
REVOKED: Your previously approved registration has been revoked. -
ARCHIVED: Your previously approved registration version moves into this status when a more recently submitted version is approved.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RegistrationVersionStatus,RegistrationVersionStatus
-
-
registrationVersionStatusHistory
DiscardRegistrationVersionResponse.Builder registrationVersionStatusHistory(RegistrationVersionStatusHistory registrationVersionStatusHistory)
The RegistrationVersionStatusHistory object contains the time stamps for when the reservations status changes.
- Parameters:
registrationVersionStatusHistory- The RegistrationVersionStatusHistory object contains the time stamps for when the reservations status changes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
registrationVersionStatusHistory
default DiscardRegistrationVersionResponse.Builder registrationVersionStatusHistory(Consumer<RegistrationVersionStatusHistory.Builder> registrationVersionStatusHistory)
The RegistrationVersionStatusHistory object contains the time stamps for when the reservations status changes.
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:
registrationVersionStatusHistory(RegistrationVersionStatusHistory)
-
-