@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, withSdkRequestTimeout
public 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.
ContactProtocol
public 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.
ContactProtocol
public 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.
ContactProtocol
public 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.
ContactProtocol
public String toString()
toString
in class Object
Object.toString()
public DeleteContactMethodRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()