@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeSafetyRuleResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeSafetyRuleResult() |
Modifier and Type | Method and Description |
---|---|
DescribeSafetyRuleResult |
clone() |
boolean |
equals(Object obj) |
AssertionRule |
getAssertionRule()
The assertion rule in the response.
|
GatingRule |
getGatingRule()
The gating rule in the response.
|
int |
hashCode() |
void |
setAssertionRule(AssertionRule assertionRule)
The assertion rule in the response.
|
void |
setGatingRule(GatingRule gatingRule)
The gating rule in the response.
|
String |
toString()
Returns a string representation of this object.
|
DescribeSafetyRuleResult |
withAssertionRule(AssertionRule assertionRule)
The assertion rule in the response.
|
DescribeSafetyRuleResult |
withGatingRule(GatingRule gatingRule)
The gating rule in the response.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setAssertionRule(AssertionRule assertionRule)
The assertion rule in the response.
assertionRule
- The assertion rule in the response.public AssertionRule getAssertionRule()
The assertion rule in the response.
public DescribeSafetyRuleResult withAssertionRule(AssertionRule assertionRule)
The assertion rule in the response.
assertionRule
- The assertion rule in the response.public void setGatingRule(GatingRule gatingRule)
The gating rule in the response.
gatingRule
- The gating rule in the response.public GatingRule getGatingRule()
The gating rule in the response.
public DescribeSafetyRuleResult withGatingRule(GatingRule gatingRule)
The gating rule in the response.
gatingRule
- The gating rule in the response.public String toString()
toString
in class Object
Object.toString()
public DescribeSafetyRuleResult clone()