@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetContactResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetContactResult() |
Modifier and Type | Method and Description |
---|---|
GetContactResult |
clone() |
boolean |
equals(Object obj) |
String |
getAlias()
The alias of the contact or escalation plan.
|
String |
getContactArn()
The ARN of the contact or escalation plan.
|
String |
getDisplayName()
The full name of the contact or escalation plan.
|
Plan |
getPlan()
Details about the specific timing or stages and targets of the escalation plan or engagement plan.
|
String |
getType()
The type of contact, either
PERSONAL or ESCALATION . |
int |
hashCode() |
void |
setAlias(String alias)
The alias of the contact or escalation plan.
|
void |
setContactArn(String contactArn)
The ARN of the contact or escalation plan.
|
void |
setDisplayName(String displayName)
The full name of the contact or escalation plan.
|
void |
setPlan(Plan plan)
Details about the specific timing or stages and targets of the escalation plan or engagement plan.
|
void |
setType(String type)
The type of contact, either
PERSONAL or ESCALATION . |
String |
toString()
Returns a string representation of this object.
|
GetContactResult |
withAlias(String alias)
The alias of the contact or escalation plan.
|
GetContactResult |
withContactArn(String contactArn)
The ARN of the contact or escalation plan.
|
GetContactResult |
withDisplayName(String displayName)
The full name of the contact or escalation plan.
|
GetContactResult |
withPlan(Plan plan)
Details about the specific timing or stages and targets of the escalation plan or engagement plan.
|
GetContactResult |
withType(ContactType type)
The type of contact, either
PERSONAL or ESCALATION . |
GetContactResult |
withType(String type)
The type of contact, either
PERSONAL or ESCALATION . |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setContactArn(String contactArn)
The ARN of the contact or escalation plan.
contactArn
- The ARN of the contact or escalation plan.public String getContactArn()
The ARN of the contact or escalation plan.
public GetContactResult withContactArn(String contactArn)
The ARN of the contact or escalation plan.
contactArn
- The ARN of the contact or escalation plan.public void setAlias(String alias)
The alias of the contact or escalation plan. The alias is unique and identifiable.
alias
- The alias of the contact or escalation plan. The alias is unique and identifiable.public String getAlias()
The alias of the contact or escalation plan. The alias is unique and identifiable.
public GetContactResult withAlias(String alias)
The alias of the contact or escalation plan. The alias is unique and identifiable.
alias
- The alias of the contact or escalation plan. The alias is unique and identifiable.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 GetContactResult withDisplayName(String displayName)
The full name of the contact or escalation plan.
displayName
- The full name of the contact or escalation plan.public void setType(String type)
The type of contact, either PERSONAL
or ESCALATION
.
type
- The type of contact, either PERSONAL
or ESCALATION
.ContactType
public String getType()
The type of contact, either PERSONAL
or ESCALATION
.
PERSONAL
or ESCALATION
.ContactType
public GetContactResult withType(String type)
The type of contact, either PERSONAL
or ESCALATION
.
type
- The type of contact, either PERSONAL
or ESCALATION
.ContactType
public GetContactResult withType(ContactType type)
The type of contact, either PERSONAL
or ESCALATION
.
type
- The type of contact, either PERSONAL
or ESCALATION
.ContactType
public void setPlan(Plan plan)
Details about the specific timing or stages and targets of the escalation plan or engagement plan.
plan
- Details about the specific timing or stages and targets of the escalation plan or engagement plan.public Plan getPlan()
Details about the specific timing or stages and targets of the escalation plan or engagement plan.
public GetContactResult withPlan(Plan plan)
Details about the specific timing or stages and targets of the escalation plan or engagement plan.
plan
- Details about the specific timing or stages and targets of the escalation plan or engagement plan.public String toString()
toString
in class Object
Object.toString()
public GetContactResult clone()