@Generated(value="software.amazon.awssdk:codegen") public final class AssociateOriginationIdentityRequest extends PinpointSmsVoiceV2Request implements ToCopyableBuilder<AssociateOriginationIdentityRequest.Builder,AssociateOriginationIdentityRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
AssociateOriginationIdentityRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static AssociateOriginationIdentityRequest.Builder |
builder() |
String |
clientToken()
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
isoCountryCode()
The new two-character code, in ISO 3166-1 alpha-2 format, for the country or region of the origination identity.
|
String |
originationIdentity()
The origination identity to use, such as PhoneNumberId, PhoneNumberArn, SenderId, or SenderIdArn.
|
String |
poolId()
The pool to update with the new Identity.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AssociateOriginationIdentityRequest.Builder> |
serializableBuilderClass() |
AssociateOriginationIdentityRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String poolId()
The pool to update with the new Identity. This value can be either the PoolId or PoolArn, and you can find these values using DescribePools.
public final String originationIdentity()
The origination identity to use, such as PhoneNumberId, PhoneNumberArn, SenderId, or SenderIdArn. You can use DescribePhoneNumbers to find the values for PhoneNumberId and PhoneNumberArn, while DescribeSenderIds can be used to get the values for SenderId and SenderIdArn.
public final String isoCountryCode()
The new two-character code, in ISO 3166-1 alpha-2 format, for the country or region of the origination identity.
public final String clientToken()
Unique, case-sensitive identifier that 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.
public AssociateOriginationIdentityRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AssociateOriginationIdentityRequest.Builder,AssociateOriginationIdentityRequest>toBuilder in class PinpointSmsVoiceV2Requestpublic static AssociateOriginationIdentityRequest.Builder builder()
public static Class<? extends AssociateOriginationIdentityRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.