Class DiscardRegistrationVersionResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.pinpointsmsvoicev2.model.PinpointSmsVoiceV2Response
-
- software.amazon.awssdk.services.pinpointsmsvoicev2.model.DiscardRegistrationVersionResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<DiscardRegistrationVersionResponse.Builder,DiscardRegistrationVersionResponse>
@Generated("software.amazon.awssdk:codegen") public final class DiscardRegistrationVersionResponse extends PinpointSmsVoiceV2Response implements ToCopyableBuilder<DiscardRegistrationVersionResponse.Builder,DiscardRegistrationVersionResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDiscardRegistrationVersionResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DiscardRegistrationVersionResponse.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringregistrationArn()The Amazon Resource Name (ARN) for the registration.StringregistrationId()The unique identifier for the registration.RegistrationVersionStatusregistrationVersionStatus()The status of the registration version.StringregistrationVersionStatusAsString()The status of the registration version.RegistrationVersionStatusHistoryregistrationVersionStatusHistory()The RegistrationVersionStatusHistory object contains the time stamps for when the reservations status changes.List<SdkField<?>>sdkFields()static Class<? extends DiscardRegistrationVersionResponse.Builder>serializableBuilderClass()DiscardRegistrationVersionResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.LongversionNumber()The version number of the registration.-
Methods inherited from class software.amazon.awssdk.services.pinpointsmsvoicev2.model.PinpointSmsVoiceV2Response
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
registrationArn
public final String registrationArn()
The Amazon Resource Name (ARN) for the registration.
- Returns:
- The Amazon Resource Name (ARN) for the registration.
-
registrationId
public final String registrationId()
The unique identifier for the registration.
- Returns:
- The unique identifier for the registration.
-
versionNumber
public final Long versionNumber()
The version number of the registration.
- Returns:
- The version number of the registration.
-
registrationVersionStatus
public final 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.
If the service returns an enum value that is not available in the current SDK version,
registrationVersionStatuswill returnRegistrationVersionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromregistrationVersionStatusAsString().- Returns:
- 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.
-
- See Also:
RegistrationVersionStatus
-
-
registrationVersionStatusAsString
public final String registrationVersionStatusAsString()
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.
If the service returns an enum value that is not available in the current SDK version,
registrationVersionStatuswill returnRegistrationVersionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromregistrationVersionStatusAsString().- Returns:
- 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.
-
- See Also:
RegistrationVersionStatus
-
-
registrationVersionStatusHistory
public final RegistrationVersionStatusHistory registrationVersionStatusHistory()
The RegistrationVersionStatusHistory object contains the time stamps for when the reservations status changes.
- Returns:
- The RegistrationVersionStatusHistory object contains the time stamps for when the reservations status changes.
-
toBuilder
public DiscardRegistrationVersionResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DiscardRegistrationVersionResponse.Builder,DiscardRegistrationVersionResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static DiscardRegistrationVersionResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends DiscardRegistrationVersionResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkResponse
-
-