@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetContactChannelResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetContactChannelResult() |
Modifier and Type | Method and Description |
---|---|
GetContactChannelResult |
clone() |
boolean |
equals(Object obj) |
String |
getActivationStatus()
A Boolean value indicating if the contact channel has been activated or not.
|
String |
getContactArn()
The ARN of the contact that the channel belongs to.
|
String |
getContactChannelArn()
The ARN of the contact channel.
|
ContactChannelAddress |
getDeliveryAddress()
The details that Incident Manager uses when trying to engage the contact channel.
|
String |
getName()
The name of the contact channel
|
String |
getType()
The type of contact channel.
|
int |
hashCode() |
void |
setActivationStatus(String activationStatus)
A Boolean value indicating if the contact channel has been activated or not.
|
void |
setContactArn(String contactArn)
The ARN of the contact that the channel belongs to.
|
void |
setContactChannelArn(String contactChannelArn)
The ARN of the contact channel.
|
void |
setDeliveryAddress(ContactChannelAddress deliveryAddress)
The details that Incident Manager uses when trying to engage the contact channel.
|
void |
setName(String name)
The name of the contact channel
|
void |
setType(String type)
The type of contact channel.
|
String |
toString()
Returns a string representation of this object.
|
GetContactChannelResult |
withActivationStatus(ActivationStatus activationStatus)
A Boolean value indicating if the contact channel has been activated or not.
|
GetContactChannelResult |
withActivationStatus(String activationStatus)
A Boolean value indicating if the contact channel has been activated or not.
|
GetContactChannelResult |
withContactArn(String contactArn)
The ARN of the contact that the channel belongs to.
|
GetContactChannelResult |
withContactChannelArn(String contactChannelArn)
The ARN of the contact channel.
|
GetContactChannelResult |
withDeliveryAddress(ContactChannelAddress deliveryAddress)
The details that Incident Manager uses when trying to engage the contact channel.
|
GetContactChannelResult |
withName(String name)
The name of the contact channel
|
GetContactChannelResult |
withType(ChannelType type)
The type of contact channel.
|
GetContactChannelResult |
withType(String type)
The type of contact channel.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setContactArn(String contactArn)
The ARN of the contact that the channel belongs to.
contactArn
- The ARN of the contact that the channel belongs to.public String getContactArn()
The ARN of the contact that the channel belongs to.
public GetContactChannelResult withContactArn(String contactArn)
The ARN of the contact that the channel belongs to.
contactArn
- The ARN of the contact that the channel belongs to.public void setContactChannelArn(String contactChannelArn)
The ARN of the contact channel.
contactChannelArn
- The ARN of the contact channel.public String getContactChannelArn()
The ARN of the contact channel.
public GetContactChannelResult withContactChannelArn(String contactChannelArn)
The ARN of the contact channel.
contactChannelArn
- The ARN of the contact channel.public void setName(String name)
The name of the contact channel
name
- The name of the contact channelpublic String getName()
The name of the contact channel
public GetContactChannelResult withName(String name)
The name of the contact channel
name
- The name of the contact channelpublic void setType(String type)
The type of contact channel. The type is SMS
, VOICE
, or EMAIL
.
type
- The type of contact channel. The type is SMS
, VOICE
, or EMAIL
.ChannelType
public String getType()
The type of contact channel. The type is SMS
, VOICE
, or EMAIL
.
SMS
, VOICE
, or EMAIL
.ChannelType
public GetContactChannelResult withType(String type)
The type of contact channel. The type is SMS
, VOICE
, or EMAIL
.
type
- The type of contact channel. The type is SMS
, VOICE
, or EMAIL
.ChannelType
public GetContactChannelResult withType(ChannelType type)
The type of contact channel. The type is SMS
, VOICE
, or EMAIL
.
type
- The type of contact channel. The type is SMS
, VOICE
, or EMAIL
.ChannelType
public void setDeliveryAddress(ContactChannelAddress deliveryAddress)
The details that Incident Manager uses when trying to engage the contact channel.
deliveryAddress
- The details that Incident Manager uses when trying to engage the contact channel.public ContactChannelAddress getDeliveryAddress()
The details that Incident Manager uses when trying to engage the contact channel.
public GetContactChannelResult withDeliveryAddress(ContactChannelAddress deliveryAddress)
The details that Incident Manager uses when trying to engage the contact channel.
deliveryAddress
- The details that Incident Manager uses when trying to engage the contact channel.public void setActivationStatus(String activationStatus)
A Boolean value indicating if the contact channel has been activated or not.
activationStatus
- A Boolean value indicating if the contact channel has been activated or not.ActivationStatus
public String getActivationStatus()
A Boolean value indicating if the contact channel has been activated or not.
ActivationStatus
public GetContactChannelResult withActivationStatus(String activationStatus)
A Boolean value indicating if the contact channel has been activated or not.
activationStatus
- A Boolean value indicating if the contact channel has been activated or not.ActivationStatus
public GetContactChannelResult withActivationStatus(ActivationStatus activationStatus)
A Boolean value indicating if the contact channel has been activated or not.
activationStatus
- A Boolean value indicating if the contact channel has been activated or not.ActivationStatus
public String toString()
toString
in class Object
Object.toString()
public GetContactChannelResult clone()