@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateSenderIdRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateSenderIdRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateSenderIdRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Boolean |
getDeletionProtectionEnabled()
By default this is set to false.
|
String |
getIsoCountryCode()
The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.
|
String |
getSenderId()
The sender ID to update.
|
int |
hashCode() |
Boolean |
isDeletionProtectionEnabled()
By default this is set to false.
|
void |
setDeletionProtectionEnabled(Boolean deletionProtectionEnabled)
By default this is set to false.
|
void |
setIsoCountryCode(String isoCountryCode)
The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.
|
void |
setSenderId(String senderId)
The sender ID to update.
|
String |
toString()
Returns a string representation of this object.
|
UpdateSenderIdRequest |
withDeletionProtectionEnabled(Boolean deletionProtectionEnabled)
By default this is set to false.
|
UpdateSenderIdRequest |
withIsoCountryCode(String isoCountryCode)
The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.
|
UpdateSenderIdRequest |
withSenderId(String senderId)
The sender ID to update.
|
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 setSenderId(String senderId)
The sender ID to update.
senderId
- The sender ID to update.public String getSenderId()
The sender ID to update.
public UpdateSenderIdRequest withSenderId(String senderId)
The sender ID to update.
senderId
- The sender ID to update.public void setIsoCountryCode(String isoCountryCode)
The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.
isoCountryCode
- The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.public String getIsoCountryCode()
The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.
public UpdateSenderIdRequest withIsoCountryCode(String isoCountryCode)
The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.
isoCountryCode
- The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.public void setDeletionProtectionEnabled(Boolean deletionProtectionEnabled)
By default this is set to false. When set to true the sender ID can't be deleted.
deletionProtectionEnabled
- By default this is set to false. When set to true the sender ID can't be deleted.public Boolean getDeletionProtectionEnabled()
By default this is set to false. When set to true the sender ID can't be deleted.
public UpdateSenderIdRequest withDeletionProtectionEnabled(Boolean deletionProtectionEnabled)
By default this is set to false. When set to true the sender ID can't be deleted.
deletionProtectionEnabled
- By default this is set to false. When set to true the sender ID can't be deleted.public Boolean isDeletionProtectionEnabled()
By default this is set to false. When set to true the sender ID can't be deleted.
public String toString()
toString
in class Object
Object.toString()
public UpdateSenderIdRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()