@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListContactsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListContactsRequest() |
Modifier and Type | Method and Description |
---|---|
ListContactsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAliasPrefix()
Used to list only contacts who's aliases start with the specified prefix.
|
Integer |
getMaxResults()
The maximum number of contacts and escalation plans per page of results.
|
String |
getNextToken()
The pagination token to continue to the next page of results.
|
String |
getType()
The type of contact.
|
int |
hashCode() |
void |
setAliasPrefix(String aliasPrefix)
Used to list only contacts who's aliases start with the specified prefix.
|
void |
setMaxResults(Integer maxResults)
The maximum number of contacts and escalation plans per page of results.
|
void |
setNextToken(String nextToken)
The pagination token to continue to the next page of results.
|
void |
setType(String type)
The type of contact.
|
String |
toString()
Returns a string representation of this object.
|
ListContactsRequest |
withAliasPrefix(String aliasPrefix)
Used to list only contacts who's aliases start with the specified prefix.
|
ListContactsRequest |
withMaxResults(Integer maxResults)
The maximum number of contacts and escalation plans per page of results.
|
ListContactsRequest |
withNextToken(String nextToken)
The pagination token to continue to the next page of results.
|
ListContactsRequest |
withType(ContactType type)
The type of contact.
|
ListContactsRequest |
withType(String type)
The type of contact.
|
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 setNextToken(String nextToken)
The pagination token to continue to the next page of results.
nextToken
- The pagination token to continue to the next page of results.public String getNextToken()
The pagination token to continue to the next page of results.
public ListContactsRequest withNextToken(String nextToken)
The pagination token to continue to the next page of results.
nextToken
- The pagination token to continue to the next page of results.public void setMaxResults(Integer maxResults)
The maximum number of contacts and escalation plans per page of results.
maxResults
- The maximum number of contacts and escalation plans per page of results.public Integer getMaxResults()
The maximum number of contacts and escalation plans per page of results.
public ListContactsRequest withMaxResults(Integer maxResults)
The maximum number of contacts and escalation plans per page of results.
maxResults
- The maximum number of contacts and escalation plans per page of results.public void setAliasPrefix(String aliasPrefix)
Used to list only contacts who's aliases start with the specified prefix.
aliasPrefix
- Used to list only contacts who's aliases start with the specified prefix.public String getAliasPrefix()
Used to list only contacts who's aliases start with the specified prefix.
public ListContactsRequest withAliasPrefix(String aliasPrefix)
Used to list only contacts who's aliases start with the specified prefix.
aliasPrefix
- Used to list only contacts who's aliases start with the specified prefix.public void setType(String type)
The type of contact. A contact is type PERSONAL
and an escalation plan is type
ESCALATION
.
type
- The type of contact. A contact is type PERSONAL
and an escalation plan is type
ESCALATION
.ContactType
public String getType()
The type of contact. A contact is type PERSONAL
and an escalation plan is type
ESCALATION
.
PERSONAL
and an escalation plan is type
ESCALATION
.ContactType
public ListContactsRequest withType(String type)
The type of contact. A contact is type PERSONAL
and an escalation plan is type
ESCALATION
.
type
- The type of contact. A contact is type PERSONAL
and an escalation plan is type
ESCALATION
.ContactType
public ListContactsRequest withType(ContactType type)
The type of contact. A contact is type PERSONAL
and an escalation plan is type
ESCALATION
.
type
- The type of contact. A contact is type PERSONAL
and an escalation plan is type
ESCALATION
.ContactType
public String toString()
toString
in class Object
Object.toString()
public ListContactsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()