@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeleteSamplingRuleRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
DeleteSamplingRuleRequest() |
Modifier and Type | Method and Description |
---|---|
DeleteSamplingRuleRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getRuleARN()
The ARN of the sampling rule.
|
String |
getRuleName()
The name of the sampling rule.
|
int |
hashCode() |
void |
setRuleARN(String ruleARN)
The ARN of the sampling rule.
|
void |
setRuleName(String ruleName)
The name of the sampling rule.
|
String |
toString()
Returns a string representation of this object.
|
DeleteSamplingRuleRequest |
withRuleARN(String ruleARN)
The ARN of the sampling rule.
|
DeleteSamplingRuleRequest |
withRuleName(String ruleName)
The name of the sampling rule.
|
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 setRuleName(String ruleName)
The name of the sampling rule. Specify a rule by either name or ARN, but not both.
ruleName
- The name of the sampling rule. Specify a rule by either name or ARN, but not both.public String getRuleName()
The name of the sampling rule. Specify a rule by either name or ARN, but not both.
public DeleteSamplingRuleRequest withRuleName(String ruleName)
The name of the sampling rule. Specify a rule by either name or ARN, but not both.
ruleName
- The name of the sampling rule. Specify a rule by either name or ARN, but not both.public void setRuleARN(String ruleARN)
The ARN of the sampling rule. Specify a rule by either name or ARN, but not both.
ruleARN
- The ARN of the sampling rule. Specify a rule by either name or ARN, but not both.public String getRuleARN()
The ARN of the sampling rule. Specify a rule by either name or ARN, but not both.
public DeleteSamplingRuleRequest withRuleARN(String ruleARN)
The ARN of the sampling rule. Specify a rule by either name or ARN, but not both.
ruleARN
- The ARN of the sampling rule. Specify a rule by either name or ARN, but not both.public String toString()
toString
in class Object
Object.toString()
public DeleteSamplingRuleRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()