@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateRuleResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
CreateRuleResult() |
Modifier and Type | Method and Description |
---|---|
CreateRuleResult |
clone() |
boolean |
equals(Object obj) |
String |
getRuleArn()
The Amazon Resource Name (ARN) of the rule.
|
String |
getRuleId()
A unique identifier for the rule.
|
int |
hashCode() |
void |
setRuleArn(String ruleArn)
The Amazon Resource Name (ARN) of the rule.
|
void |
setRuleId(String ruleId)
A unique identifier for the rule.
|
String |
toString()
Returns a string representation of this object.
|
CreateRuleResult |
withRuleArn(String ruleArn)
The Amazon Resource Name (ARN) of the rule.
|
CreateRuleResult |
withRuleId(String ruleId)
A unique identifier for the rule.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setRuleArn(String ruleArn)
The Amazon Resource Name (ARN) of the rule.
ruleArn
- The Amazon Resource Name (ARN) of the rule.public String getRuleArn()
The Amazon Resource Name (ARN) of the rule.
public CreateRuleResult withRuleArn(String ruleArn)
The Amazon Resource Name (ARN) of the rule.
ruleArn
- The Amazon Resource Name (ARN) of the rule.public void setRuleId(String ruleId)
A unique identifier for the rule.
ruleId
- A unique identifier for the rule.public String getRuleId()
A unique identifier for the rule.
public CreateRuleResult withRuleId(String ruleId)
A unique identifier for the rule.
ruleId
- A unique identifier for the rule.public String toString()
toString
in class Object
Object.toString()
public CreateRuleResult clone()