Class DisassociateOriginationIdentityRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.pinpointsmsvoicev2.model.PinpointSmsVoiceV2Request
-
- software.amazon.awssdk.services.pinpointsmsvoicev2.model.DisassociateOriginationIdentityRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<DisassociateOriginationIdentityRequest.Builder,DisassociateOriginationIdentityRequest>
@Generated("software.amazon.awssdk:codegen") public final class DisassociateOriginationIdentityRequest extends PinpointSmsVoiceV2Request implements ToCopyableBuilder<DisassociateOriginationIdentityRequest.Builder,DisassociateOriginationIdentityRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDisassociateOriginationIdentityRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DisassociateOriginationIdentityRequest.Builderbuilder()StringclientToken()Unique, case-sensitive identifier you provide to ensure the idempotency of the request.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringisoCountryCode()The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.StringoriginationIdentity()The origination identity to use such as a PhoneNumberId, PhoneNumberArn, SenderId or SenderIdArn.StringpoolId()The unique identifier for the pool to disassociate with the origination identity.List<SdkField<?>>sdkFields()static Class<? extends DisassociateOriginationIdentityRequest.Builder>serializableBuilderClass()DisassociateOriginationIdentityRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
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
-
poolId
public final String poolId()
The unique identifier for the pool to disassociate with the origination identity. This value can be either the PoolId or PoolArn.
- Returns:
- The unique identifier for the pool to disassociate with the origination identity. This value can be either the PoolId or PoolArn.
-
originationIdentity
public final String originationIdentity()
The origination identity to use such as a PhoneNumberId, PhoneNumberArn, SenderId or SenderIdArn. You can use DescribePhoneNumbers find the values for PhoneNumberId and PhoneNumberArn, or use DescribeSenderIds to get the values for SenderId and SenderIdArn.
- Returns:
- The origination identity to use such as a PhoneNumberId, PhoneNumberArn, SenderId or SenderIdArn. You can use DescribePhoneNumbers find the values for PhoneNumberId and PhoneNumberArn, or use DescribeSenderIds to get the values for SenderId and SenderIdArn.
-
isoCountryCode
public final String isoCountryCode()
The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.
- Returns:
- The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.
-
clientToken
public final String clientToken()
Unique, case-sensitive identifier you provide to ensure the idempotency of the request. If you don't specify a client token, a randomly generated token is used for the request to ensure idempotency.
- Returns:
- Unique, case-sensitive identifier you provide to ensure the idempotency of the request. If you don't specify a client token, a randomly generated token is used for the request to ensure idempotency.
-
toBuilder
public DisassociateOriginationIdentityRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DisassociateOriginationIdentityRequest.Builder,DisassociateOriginationIdentityRequest>- Specified by:
toBuilderin classPinpointSmsVoiceV2Request
-
builder
public static DisassociateOriginationIdentityRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends DisassociateOriginationIdentityRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
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 classSdkRequest
-
-