@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetContactMethodsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
GetContactMethodsRequest() |
Modifier and Type | Method and Description |
---|---|
GetContactMethodsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<String> |
getProtocols()
The protocols used to send notifications, such as
Email , or SMS (text messaging). |
int |
hashCode() |
void |
setProtocols(Collection<String> protocols)
The protocols used to send notifications, such as
Email , or SMS (text messaging). |
String |
toString()
Returns a string representation of this object.
|
GetContactMethodsRequest |
withProtocols(Collection<String> protocols)
The protocols used to send notifications, such as
Email , or SMS (text messaging). |
GetContactMethodsRequest |
withProtocols(ContactProtocol... protocols)
The protocols used to send notifications, such as
Email , or SMS (text messaging). |
GetContactMethodsRequest |
withProtocols(String... protocols)
The protocols used to send notifications, 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 List<String> getProtocols()
The protocols used to send notifications, such as Email
, or SMS
(text messaging).
Specify a protocol in your request to return information about a specific contact method protocol.
Email
, or SMS
(text
messaging).
Specify a protocol in your request to return information about a specific contact method protocol.
ContactProtocol
public void setProtocols(Collection<String> protocols)
The protocols used to send notifications, such as Email
, or SMS
(text messaging).
Specify a protocol in your request to return information about a specific contact method protocol.
protocols
- The protocols used to send notifications, such as Email
, or SMS
(text
messaging).
Specify a protocol in your request to return information about a specific contact method protocol.
ContactProtocol
public GetContactMethodsRequest withProtocols(String... protocols)
The protocols used to send notifications, such as Email
, or SMS
(text messaging).
Specify a protocol in your request to return information about a specific contact method protocol.
NOTE: This method appends the values to the existing list (if any). Use
setProtocols(java.util.Collection)
or withProtocols(java.util.Collection)
if you want to
override the existing values.
protocols
- The protocols used to send notifications, such as Email
, or SMS
(text
messaging).
Specify a protocol in your request to return information about a specific contact method protocol.
ContactProtocol
public GetContactMethodsRequest withProtocols(Collection<String> protocols)
The protocols used to send notifications, such as Email
, or SMS
(text messaging).
Specify a protocol in your request to return information about a specific contact method protocol.
protocols
- The protocols used to send notifications, such as Email
, or SMS
(text
messaging).
Specify a protocol in your request to return information about a specific contact method protocol.
ContactProtocol
public GetContactMethodsRequest withProtocols(ContactProtocol... protocols)
The protocols used to send notifications, such as Email
, or SMS
(text messaging).
Specify a protocol in your request to return information about a specific contact method protocol.
protocols
- The protocols used to send notifications, such as Email
, or SMS
(text
messaging).
Specify a protocol in your request to return information about a specific contact method protocol.
ContactProtocol
public String toString()
toString
in class Object
Object.toString()
public GetContactMethodsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()