@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SipRule extends Object implements Serializable, Cloneable, StructuredPojo
The SIP rule details, including name, triggers, and target applications. An AWS account can have multiple SIP rules.
| Constructor and Description |
|---|
SipRule() |
| Modifier and Type | Method and Description |
|---|---|
SipRule |
clone() |
boolean |
equals(Object obj) |
Date |
getCreatedTimestamp()
The SIP rule created timestamp, in ISO 8601 format.
|
Boolean |
getDisabled()
Indicates if the SIP rule is enabled or disabled.
|
String |
getName()
The name of the SIP rule.
|
String |
getSipRuleId()
The SIP rule ID.
|
List<SipRuleTargetApplication> |
getTargetApplications()
List of SIP media applications with priority and AWS Region.
|
String |
getTriggerType()
The type of trigger whose value is assigned to the SIP rule in
TriggerValue. |
String |
getTriggerValue()
If
TriggerType is RequestUriHostname, then the value can be the outbound host name of
the Amazon Chime Voice Connector. |
Date |
getUpdatedTimestamp()
The SIP rule updated timestamp, in ISO 8601 format.
|
int |
hashCode() |
Boolean |
isDisabled()
Indicates if the SIP rule is enabled or disabled.
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setCreatedTimestamp(Date createdTimestamp)
The SIP rule created timestamp, in ISO 8601 format.
|
void |
setDisabled(Boolean disabled)
Indicates if the SIP rule is enabled or disabled.
|
void |
setName(String name)
The name of the SIP rule.
|
void |
setSipRuleId(String sipRuleId)
The SIP rule ID.
|
void |
setTargetApplications(Collection<SipRuleTargetApplication> targetApplications)
List of SIP media applications with priority and AWS Region.
|
void |
setTriggerType(String triggerType)
The type of trigger whose value is assigned to the SIP rule in
TriggerValue. |
void |
setTriggerValue(String triggerValue)
If
TriggerType is RequestUriHostname, then the value can be the outbound host name of
the Amazon Chime Voice Connector. |
void |
setUpdatedTimestamp(Date updatedTimestamp)
The SIP rule updated timestamp, in ISO 8601 format.
|
String |
toString()
Returns a string representation of this object.
|
SipRule |
withCreatedTimestamp(Date createdTimestamp)
The SIP rule created timestamp, in ISO 8601 format.
|
SipRule |
withDisabled(Boolean disabled)
Indicates if the SIP rule is enabled or disabled.
|
SipRule |
withName(String name)
The name of the SIP rule.
|
SipRule |
withSipRuleId(String sipRuleId)
The SIP rule ID.
|
SipRule |
withTargetApplications(Collection<SipRuleTargetApplication> targetApplications)
List of SIP media applications with priority and AWS Region.
|
SipRule |
withTargetApplications(SipRuleTargetApplication... targetApplications)
List of SIP media applications with priority and AWS Region.
|
SipRule |
withTriggerType(SipRuleTriggerType triggerType)
The type of trigger whose value is assigned to the SIP rule in
TriggerValue. |
SipRule |
withTriggerType(String triggerType)
The type of trigger whose value is assigned to the SIP rule in
TriggerValue. |
SipRule |
withTriggerValue(String triggerValue)
If
TriggerType is RequestUriHostname, then the value can be the outbound host name of
the Amazon Chime Voice Connector. |
SipRule |
withUpdatedTimestamp(Date updatedTimestamp)
The SIP rule updated timestamp, in ISO 8601 format.
|
public void setSipRuleId(String sipRuleId)
The SIP rule ID.
sipRuleId - The SIP rule ID.public String getSipRuleId()
The SIP rule ID.
public SipRule withSipRuleId(String sipRuleId)
The SIP rule ID.
sipRuleId - The SIP rule ID.public void setName(String name)
The name of the SIP rule.
name - The name of the SIP rule.public String getName()
The name of the SIP rule.
public SipRule withName(String name)
The name of the SIP rule.
name - The name of the SIP rule.public void setDisabled(Boolean disabled)
Indicates if the SIP rule is enabled or disabled. You must disable a rule before you can delete it.
disabled - Indicates if the SIP rule is enabled or disabled. You must disable a rule before you can delete it.public Boolean getDisabled()
Indicates if the SIP rule is enabled or disabled. You must disable a rule before you can delete it.
public SipRule withDisabled(Boolean disabled)
Indicates if the SIP rule is enabled or disabled. You must disable a rule before you can delete it.
disabled - Indicates if the SIP rule is enabled or disabled. You must disable a rule before you can delete it.public Boolean isDisabled()
Indicates if the SIP rule is enabled or disabled. You must disable a rule before you can delete it.
public void setTriggerType(String triggerType)
The type of trigger whose value is assigned to the SIP rule in TriggerValue.
triggerType - The type of trigger whose value is assigned to the SIP rule in TriggerValue.SipRuleTriggerTypepublic String getTriggerType()
The type of trigger whose value is assigned to the SIP rule in TriggerValue.
TriggerValue.SipRuleTriggerTypepublic SipRule withTriggerType(String triggerType)
The type of trigger whose value is assigned to the SIP rule in TriggerValue.
triggerType - The type of trigger whose value is assigned to the SIP rule in TriggerValue.SipRuleTriggerTypepublic SipRule withTriggerType(SipRuleTriggerType triggerType)
The type of trigger whose value is assigned to the SIP rule in TriggerValue.
triggerType - The type of trigger whose value is assigned to the SIP rule in TriggerValue.SipRuleTriggerTypepublic void setTriggerValue(String triggerValue)
If TriggerType is RequestUriHostname, then the value can be the outbound host name of
the Amazon Chime Voice Connector. If TriggerType is ToPhoneNumber, then the value can
be a customer-owned phone number in E164 format. SipRule is triggered when a SIP rule requests host
name or ToPhoneNumber matches in the incoming SIP request.
triggerValue - If TriggerType is RequestUriHostname, then the value can be the outbound host
name of the Amazon Chime Voice Connector. If TriggerType is ToPhoneNumber, then
the value can be a customer-owned phone number in E164 format. SipRule is triggered when a
SIP rule requests host name or ToPhoneNumber matches in the incoming SIP request.public String getTriggerValue()
If TriggerType is RequestUriHostname, then the value can be the outbound host name of
the Amazon Chime Voice Connector. If TriggerType is ToPhoneNumber, then the value can
be a customer-owned phone number in E164 format. SipRule is triggered when a SIP rule requests host
name or ToPhoneNumber matches in the incoming SIP request.
TriggerType is RequestUriHostname, then the value can be the outbound host
name of the Amazon Chime Voice Connector. If TriggerType is ToPhoneNumber, then
the value can be a customer-owned phone number in E164 format. SipRule is triggered when a
SIP rule requests host name or ToPhoneNumber matches in the incoming SIP request.public SipRule withTriggerValue(String triggerValue)
If TriggerType is RequestUriHostname, then the value can be the outbound host name of
the Amazon Chime Voice Connector. If TriggerType is ToPhoneNumber, then the value can
be a customer-owned phone number in E164 format. SipRule is triggered when a SIP rule requests host
name or ToPhoneNumber matches in the incoming SIP request.
triggerValue - If TriggerType is RequestUriHostname, then the value can be the outbound host
name of the Amazon Chime Voice Connector. If TriggerType is ToPhoneNumber, then
the value can be a customer-owned phone number in E164 format. SipRule is triggered when a
SIP rule requests host name or ToPhoneNumber matches in the incoming SIP request.public List<SipRuleTargetApplication> getTargetApplications()
List of SIP media applications with priority and AWS Region. You can only use one SIP application per AWS Region and priority combination.
public void setTargetApplications(Collection<SipRuleTargetApplication> targetApplications)
List of SIP media applications with priority and AWS Region. You can only use one SIP application per AWS Region and priority combination.
targetApplications - List of SIP media applications with priority and AWS Region. You can only use one SIP application per AWS
Region and priority combination.public SipRule withTargetApplications(SipRuleTargetApplication... targetApplications)
List of SIP media applications with priority and AWS Region. You can only use one SIP application per AWS Region and priority combination.
NOTE: This method appends the values to the existing list (if any). Use
setTargetApplications(java.util.Collection) or withTargetApplications(java.util.Collection) if
you want to override the existing values.
targetApplications - List of SIP media applications with priority and AWS Region. You can only use one SIP application per AWS
Region and priority combination.public SipRule withTargetApplications(Collection<SipRuleTargetApplication> targetApplications)
List of SIP media applications with priority and AWS Region. You can only use one SIP application per AWS Region and priority combination.
targetApplications - List of SIP media applications with priority and AWS Region. You can only use one SIP application per AWS
Region and priority combination.public void setCreatedTimestamp(Date createdTimestamp)
The SIP rule created timestamp, in ISO 8601 format.
createdTimestamp - The SIP rule created timestamp, in ISO 8601 format.public Date getCreatedTimestamp()
The SIP rule created timestamp, in ISO 8601 format.
public SipRule withCreatedTimestamp(Date createdTimestamp)
The SIP rule created timestamp, in ISO 8601 format.
createdTimestamp - The SIP rule created timestamp, in ISO 8601 format.public void setUpdatedTimestamp(Date updatedTimestamp)
The SIP rule updated timestamp, in ISO 8601 format.
updatedTimestamp - The SIP rule updated timestamp, in ISO 8601 format.public Date getUpdatedTimestamp()
The SIP rule updated timestamp, in ISO 8601 format.
public SipRule withUpdatedTimestamp(Date updatedTimestamp)
The SIP rule updated timestamp, in ISO 8601 format.
updatedTimestamp - The SIP rule updated timestamp, in ISO 8601 format.public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2020. All rights reserved.