@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateSipRuleRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateSipRuleRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateSipRuleRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Boolean |
getDisabled()
The new value specified to indicate whether the rule is disabled.
|
String |
getName()
The new name for the specified SIP rule.
|
String |
getSipRuleId()
The SIP rule ID.
|
List<SipRuleTargetApplication> |
getTargetApplications()
The new value of the list of target applications.
|
int |
hashCode() |
Boolean |
isDisabled()
The new value specified to indicate whether the rule is disabled.
|
void |
setDisabled(Boolean disabled)
The new value specified to indicate whether the rule is disabled.
|
void |
setName(String name)
The new name for the specified SIP rule.
|
void |
setSipRuleId(String sipRuleId)
The SIP rule ID.
|
void |
setTargetApplications(Collection<SipRuleTargetApplication> targetApplications)
The new value of the list of target applications.
|
String |
toString()
Returns a string representation of this object.
|
UpdateSipRuleRequest |
withDisabled(Boolean disabled)
The new value specified to indicate whether the rule is disabled.
|
UpdateSipRuleRequest |
withName(String name)
The new name for the specified SIP rule.
|
UpdateSipRuleRequest |
withSipRuleId(String sipRuleId)
The SIP rule ID.
|
UpdateSipRuleRequest |
withTargetApplications(Collection<SipRuleTargetApplication> targetApplications)
The new value of the list of target applications.
|
UpdateSipRuleRequest |
withTargetApplications(SipRuleTargetApplication... targetApplications)
The new value of the list of target applications.
|
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 setSipRuleId(String sipRuleId)
The SIP rule ID.
sipRuleId
- The SIP rule ID.public String getSipRuleId()
The SIP rule ID.
public UpdateSipRuleRequest withSipRuleId(String sipRuleId)
The SIP rule ID.
sipRuleId
- The SIP rule ID.public void setName(String name)
The new name for the specified SIP rule.
name
- The new name for the specified SIP rule.public String getName()
The new name for the specified SIP rule.
public UpdateSipRuleRequest withName(String name)
The new name for the specified SIP rule.
name
- The new name for the specified SIP rule.public void setDisabled(Boolean disabled)
The new value specified to indicate whether the rule is disabled.
disabled
- The new value specified to indicate whether the rule is disabled.public Boolean getDisabled()
The new value specified to indicate whether the rule is disabled.
public UpdateSipRuleRequest withDisabled(Boolean disabled)
The new value specified to indicate whether the rule is disabled.
disabled
- The new value specified to indicate whether the rule is disabled.public Boolean isDisabled()
The new value specified to indicate whether the rule is disabled.
public List<SipRuleTargetApplication> getTargetApplications()
The new value of the list of target applications.
public void setTargetApplications(Collection<SipRuleTargetApplication> targetApplications)
The new value of the list of target applications.
targetApplications
- The new value of the list of target applications.public UpdateSipRuleRequest withTargetApplications(SipRuleTargetApplication... targetApplications)
The new value of the list of target applications.
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
- The new value of the list of target applications.public UpdateSipRuleRequest withTargetApplications(Collection<SipRuleTargetApplication> targetApplications)
The new value of the list of target applications.
targetApplications
- The new value of the list of target applications.public String toString()
toString
in class Object
Object.toString()
public UpdateSipRuleRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()