@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Contact extends Object implements Serializable, Cloneable, StructuredPojo
A personal contact or escalation plan that Incident Manager engages during an incident.
Constructor and Description |
---|
Contact() |
Modifier and Type | Method and Description |
---|---|
Contact |
clone() |
boolean |
equals(Object obj) |
String |
getAlias()
The unique and identifiable alias of the contact or escalation plan.
|
String |
getContactArn()
The Amazon Resource Name (ARN) of the contact or escalation plan.
|
String |
getDisplayName()
The full name of the contact or escalation plan.
|
String |
getType()
Refers to the type of contact.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAlias(String alias)
The unique and identifiable alias of the contact or escalation plan.
|
void |
setContactArn(String contactArn)
The Amazon Resource Name (ARN) of the contact or escalation plan.
|
void |
setDisplayName(String displayName)
The full name of the contact or escalation plan.
|
void |
setType(String type)
Refers to the type of contact.
|
String |
toString()
Returns a string representation of this object.
|
Contact |
withAlias(String alias)
The unique and identifiable alias of the contact or escalation plan.
|
Contact |
withContactArn(String contactArn)
The Amazon Resource Name (ARN) of the contact or escalation plan.
|
Contact |
withDisplayName(String displayName)
The full name of the contact or escalation plan.
|
Contact |
withType(ContactType type)
Refers to the type of contact.
|
Contact |
withType(String type)
Refers to the type of contact.
|
public void setContactArn(String contactArn)
The Amazon Resource Name (ARN) of the contact or escalation plan.
contactArn
- The Amazon Resource Name (ARN) of the contact or escalation plan.public String getContactArn()
The Amazon Resource Name (ARN) of the contact or escalation plan.
public Contact withContactArn(String contactArn)
The Amazon Resource Name (ARN) of the contact or escalation plan.
contactArn
- The Amazon Resource Name (ARN) of the contact or escalation plan.public void setAlias(String alias)
The unique and identifiable alias of the contact or escalation plan.
alias
- The unique and identifiable alias of the contact or escalation plan.public String getAlias()
The unique and identifiable alias of the contact or escalation plan.
public Contact withAlias(String alias)
The unique and identifiable alias of the contact or escalation plan.
alias
- The unique and identifiable alias of the contact or escalation plan.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 Contact 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)
Refers to the type of contact. A single contact is type PERSONAL
and an escalation plan is type
ESCALATION
.
type
- Refers to the type of contact. A single contact is type PERSONAL
and an escalation plan is
type ESCALATION
.ContactType
public String getType()
Refers to the type of contact. A single contact is type PERSONAL
and an escalation plan is type
ESCALATION
.
PERSONAL
and an escalation plan is
type ESCALATION
.ContactType
public Contact withType(String type)
Refers to the type of contact. A single contact is type PERSONAL
and an escalation plan is type
ESCALATION
.
type
- Refers to the type of contact. A single contact is type PERSONAL
and an escalation plan is
type ESCALATION
.ContactType
public Contact withType(ContactType type)
Refers to the type of contact. A single contact is type PERSONAL
and an escalation plan is type
ESCALATION
.
type
- Refers to the type of contact. A single contact is type PERSONAL
and an escalation plan is
type ESCALATION
.ContactType
public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.