@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateSamplingRuleRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description | 
|---|
CreateSamplingRuleRequest()  | 
| Modifier and Type | Method and Description | 
|---|---|
CreateSamplingRuleRequest | 
clone()
Creates a shallow clone of this object for all fields except the handler context. 
 | 
boolean | 
equals(Object obj)  | 
SamplingRule | 
getSamplingRule()
 The rule definition. 
 | 
List<Tag> | 
getTags()  | 
int | 
hashCode()  | 
void | 
setSamplingRule(SamplingRule samplingRule)
 The rule definition. 
 | 
void | 
setTags(Collection<Tag> tags)  | 
String | 
toString()
Returns a string representation of this object. 
 | 
CreateSamplingRuleRequest | 
withSamplingRule(SamplingRule samplingRule)
 The rule definition. 
 | 
CreateSamplingRuleRequest | 
withTags(Collection<Tag> tags)  | 
CreateSamplingRuleRequest | 
withTags(Tag... tags)
 NOTE: This method appends the values to the existing list (if any). 
 | 
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, withSdkRequestTimeoutpublic void setSamplingRule(SamplingRule samplingRule)
The rule definition.
samplingRule - The rule definition.public SamplingRule getSamplingRule()
The rule definition.
public CreateSamplingRuleRequest withSamplingRule(SamplingRule samplingRule)
The rule definition.
samplingRule - The rule definition.public void setTags(Collection<Tag> tags)
tags - public CreateSamplingRuleRequest withTags(Tag... tags)
 NOTE: This method appends the values to the existing list (if any). Use
 setTags(java.util.Collection) or withTags(java.util.Collection) if you want to override the
 existing values.
 
tags - public CreateSamplingRuleRequest withTags(Collection<Tag> tags)
tags - public String toString()
toString in class ObjectObject.toString()public CreateSamplingRuleRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()