@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeleteContactMethodRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
DeleteContactMethodRequest() |
| Modifier and Type | Method and Description |
|---|---|
DeleteContactMethodRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getProtocol()
The protocol that will be deleted, such as
Email or SMS (text messaging). |
int |
hashCode() |
void |
setProtocol(String protocol)
The protocol that will be deleted, such as
Email or SMS (text messaging). |
String |
toString()
Returns a string representation of this object.
|
DeleteContactMethodRequest |
withProtocol(ContactProtocol protocol)
The protocol that will be deleted, such as
Email or SMS (text messaging). |
DeleteContactMethodRequest |
withProtocol(String protocol)
The protocol that will be deleted, such as
Email or SMS (text messaging). |
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, withSdkRequestTimeoutpublic void setProtocol(String protocol)
The protocol that will be deleted, such as Email or SMS (text messaging).
To delete an Email and an SMS contact method if you added both, you must run separate
DeleteContactMethod actions to delete each protocol.
protocol - The protocol that will be deleted, such as Email or SMS (text messaging).
To delete an Email and an SMS contact method if you added both, you must run
separate DeleteContactMethod actions to delete each protocol.
ContactProtocolpublic String getProtocol()
The protocol that will be deleted, such as Email or SMS (text messaging).
To delete an Email and an SMS contact method if you added both, you must run separate
DeleteContactMethod actions to delete each protocol.
Email or SMS (text messaging).
To delete an Email and an SMS contact method if you added both, you must run
separate DeleteContactMethod actions to delete each protocol.
ContactProtocolpublic DeleteContactMethodRequest withProtocol(String protocol)
The protocol that will be deleted, such as Email or SMS (text messaging).
To delete an Email and an SMS contact method if you added both, you must run separate
DeleteContactMethod actions to delete each protocol.
protocol - The protocol that will be deleted, such as Email or SMS (text messaging).
To delete an Email and an SMS contact method if you added both, you must run
separate DeleteContactMethod actions to delete each protocol.
ContactProtocolpublic DeleteContactMethodRequest withProtocol(ContactProtocol protocol)
The protocol that will be deleted, such as Email or SMS (text messaging).
To delete an Email and an SMS contact method if you added both, you must run separate
DeleteContactMethod actions to delete each protocol.
protocol - The protocol that will be deleted, such as Email or SMS (text messaging).
To delete an Email and an SMS contact method if you added both, you must run
separate DeleteContactMethod actions to delete each protocol.
ContactProtocolpublic String toString()
toString in class ObjectObject.toString()public DeleteContactMethodRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()