@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateContactRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateContactRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateContactRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getContactId()
The Amazon Resource Name (ARN) of the contact or escalation plan you're updating.
|
String |
getDisplayName()
The full name of the contact or escalation plan.
|
Plan |
getPlan()
A list of stages.
|
int |
hashCode() |
void |
setContactId(String contactId)
The Amazon Resource Name (ARN) of the contact or escalation plan you're updating.
|
void |
setDisplayName(String displayName)
The full name of the contact or escalation plan.
|
void |
setPlan(Plan plan)
A list of stages.
|
String |
toString()
Returns a string representation of this object.
|
UpdateContactRequest |
withContactId(String contactId)
The Amazon Resource Name (ARN) of the contact or escalation plan you're updating.
|
UpdateContactRequest |
withDisplayName(String displayName)
The full name of the contact or escalation plan.
|
UpdateContactRequest |
withPlan(Plan plan)
A list of stages.
|
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 setContactId(String contactId)
The Amazon Resource Name (ARN) of the contact or escalation plan you're updating.
contactId
- The Amazon Resource Name (ARN) of the contact or escalation plan you're updating.public String getContactId()
The Amazon Resource Name (ARN) of the contact or escalation plan you're updating.
public UpdateContactRequest withContactId(String contactId)
The Amazon Resource Name (ARN) of the contact or escalation plan you're updating.
contactId
- The Amazon Resource Name (ARN) of the contact or escalation plan you're updating.public void setDisplayName(String displayName)
The full name of the contact or escalation plan.
displayName
- The full name of the contact or escalation plan.public String getDisplayName()
The full name of the contact or escalation plan.
public UpdateContactRequest withDisplayName(String displayName)
The full name of the contact or escalation plan.
displayName
- The full name of the contact or escalation plan.public void setPlan(Plan plan)
A list of stages. A contact has an engagement plan with stages for specified contact channels. An escalation plan uses these stages to contact specified contacts.
plan
- A list of stages. A contact has an engagement plan with stages for specified contact channels. An
escalation plan uses these stages to contact specified contacts.public Plan getPlan()
A list of stages. A contact has an engagement plan with stages for specified contact channels. An escalation plan uses these stages to contact specified contacts.
public UpdateContactRequest withPlan(Plan plan)
A list of stages. A contact has an engagement plan with stages for specified contact channels. An escalation plan uses these stages to contact specified contacts.
plan
- A list of stages. A contact has an engagement plan with stages for specified contact channels. An
escalation plan uses these stages to contact specified contacts.public String toString()
toString
in class Object
Object.toString()
public UpdateContactRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()