@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AssociateOriginationIdentityRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
AssociateOriginationIdentityRequest() |
Modifier and Type | Method and Description |
---|---|
AssociateOriginationIdentityRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClientToken()
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
String |
getIsoCountryCode()
The new two-character code, in ISO 3166-1 alpha-2 format, for the country or region of the origination identity.
|
String |
getOriginationIdentity()
The origination identity to use, such as PhoneNumberId, PhoneNumberArn, SenderId, or SenderIdArn.
|
String |
getPoolId()
The pool to update with the new Identity.
|
int |
hashCode() |
void |
setClientToken(String clientToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
void |
setIsoCountryCode(String isoCountryCode)
The new two-character code, in ISO 3166-1 alpha-2 format, for the country or region of the origination identity.
|
void |
setOriginationIdentity(String originationIdentity)
The origination identity to use, such as PhoneNumberId, PhoneNumberArn, SenderId, or SenderIdArn.
|
void |
setPoolId(String poolId)
The pool to update with the new Identity.
|
String |
toString()
Returns a string representation of this object.
|
AssociateOriginationIdentityRequest |
withClientToken(String clientToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
AssociateOriginationIdentityRequest |
withIsoCountryCode(String isoCountryCode)
The new two-character code, in ISO 3166-1 alpha-2 format, for the country or region of the origination identity.
|
AssociateOriginationIdentityRequest |
withOriginationIdentity(String originationIdentity)
The origination identity to use, such as PhoneNumberId, PhoneNumberArn, SenderId, or SenderIdArn.
|
AssociateOriginationIdentityRequest |
withPoolId(String poolId)
The pool to update with the new Identity.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setPoolId(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.
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 String getPoolId()
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 AssociateOriginationIdentityRequest withPoolId(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.
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 void setOriginationIdentity(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.
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 String getOriginationIdentity()
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 AssociateOriginationIdentityRequest withOriginationIdentity(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.
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 void setIsoCountryCode(String isoCountryCode)
The new two-character code, in ISO 3166-1 alpha-2 format, for the country or region of the origination identity.
isoCountryCode
- The new two-character code, in ISO 3166-1 alpha-2 format, for the country or region of the origination
identity.public String getIsoCountryCode()
The new two-character code, in ISO 3166-1 alpha-2 format, for the country or region of the origination identity.
public AssociateOriginationIdentityRequest withIsoCountryCode(String isoCountryCode)
The new two-character code, in ISO 3166-1 alpha-2 format, for the country or region of the origination identity.
isoCountryCode
- The new two-character code, in ISO 3166-1 alpha-2 format, for the country or region of the origination
identity.public void setClientToken(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.
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 String getClientToken()
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 withClientToken(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.
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 String toString()
toString
in class Object
Object.toString()
public AssociateOriginationIdentityRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()