@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SamplingRuleRecord extends Object implements Serializable, Cloneable, StructuredPojo
A SamplingRule and its metadata.
Constructor and Description |
---|
SamplingRuleRecord() |
Modifier and Type | Method and Description |
---|---|
SamplingRuleRecord |
clone() |
boolean |
equals(Object obj) |
Date |
getCreatedAt()
When the rule was created.
|
Date |
getModifiedAt()
When the rule was last modified.
|
SamplingRule |
getSamplingRule()
The sampling rule.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreatedAt(Date createdAt)
When the rule was created.
|
void |
setModifiedAt(Date modifiedAt)
When the rule was last modified.
|
void |
setSamplingRule(SamplingRule samplingRule)
The sampling rule.
|
String |
toString()
Returns a string representation of this object.
|
SamplingRuleRecord |
withCreatedAt(Date createdAt)
When the rule was created.
|
SamplingRuleRecord |
withModifiedAt(Date modifiedAt)
When the rule was last modified.
|
SamplingRuleRecord |
withSamplingRule(SamplingRule samplingRule)
The sampling rule.
|
public void setSamplingRule(SamplingRule samplingRule)
The sampling rule.
samplingRule
- The sampling rule.public SamplingRule getSamplingRule()
The sampling rule.
public SamplingRuleRecord withSamplingRule(SamplingRule samplingRule)
The sampling rule.
samplingRule
- The sampling rule.public void setCreatedAt(Date createdAt)
When the rule was created.
createdAt
- When the rule was created.public Date getCreatedAt()
When the rule was created.
public SamplingRuleRecord withCreatedAt(Date createdAt)
When the rule was created.
createdAt
- When the rule was created.public void setModifiedAt(Date modifiedAt)
When the rule was last modified.
modifiedAt
- When the rule was last modified.public Date getModifiedAt()
When the rule was last modified.
public SamplingRuleRecord withModifiedAt(Date modifiedAt)
When the rule was last modified.
modifiedAt
- When the rule was last modified.public String toString()
toString
in class Object
Object.toString()
public SamplingRuleRecord clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.