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