@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) |
RuleAction |
getAction()
The rule action.
|
String |
getArn()
The Amazon Resource Name (ARN) of the rule.
|
String |
getId()
The ID of the rule.
|
RuleMatch |
getMatch()
The rule match.
|
String |
getName()
The name of the rule.
|
Integer |
getPriority()
The priority assigned to the rule.
|
int |
hashCode() |
void |
setAction(RuleAction action)
The rule action.
|
void |
setArn(String arn)
The Amazon Resource Name (ARN) of the rule.
|
void |
setId(String id)
The ID of the rule.
|
void |
setMatch(RuleMatch match)
The rule match.
|
void |
setName(String name)
The name of the rule.
|
void |
setPriority(Integer priority)
The priority assigned to the rule.
|
String |
toString()
Returns a string representation of this object.
|
CreateRuleResult |
withAction(RuleAction action)
The rule action.
|
CreateRuleResult |
withArn(String arn)
The Amazon Resource Name (ARN) of the rule.
|
CreateRuleResult |
withId(String id)
The ID of the rule.
|
CreateRuleResult |
withMatch(RuleMatch match)
The rule match.
|
CreateRuleResult |
withName(String name)
The name of the rule.
|
CreateRuleResult |
withPriority(Integer priority)
The priority assigned to the rule.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setAction(RuleAction action)
The rule action.
action
- The rule action.public RuleAction getAction()
The rule action.
public CreateRuleResult withAction(RuleAction action)
The rule action.
action
- The rule action.public void setArn(String arn)
The Amazon Resource Name (ARN) of the rule.
arn
- The Amazon Resource Name (ARN) of the rule.public String getArn()
The Amazon Resource Name (ARN) of the rule.
public CreateRuleResult withArn(String arn)
The Amazon Resource Name (ARN) of the rule.
arn
- The Amazon Resource Name (ARN) of the rule.public void setId(String id)
The ID of the rule.
id
- The ID of the rule.public String getId()
The ID of the rule.
public CreateRuleResult withId(String id)
The ID of the rule.
id
- The ID of the rule.public void setMatch(RuleMatch match)
The rule match. The RuleMatch
must be an HttpMatch
. This means that the rule should be
an exact match on HTTP constraints which are made up of the HTTP method, path, and header.
match
- The rule match. The RuleMatch
must be an HttpMatch
. This means that the rule
should be an exact match on HTTP constraints which are made up of the HTTP method, path, and header.public RuleMatch getMatch()
The rule match. The RuleMatch
must be an HttpMatch
. This means that the rule should be
an exact match on HTTP constraints which are made up of the HTTP method, path, and header.
RuleMatch
must be an HttpMatch
. This means that the rule
should be an exact match on HTTP constraints which are made up of the HTTP method, path, and header.public CreateRuleResult withMatch(RuleMatch match)
The rule match. The RuleMatch
must be an HttpMatch
. This means that the rule should be
an exact match on HTTP constraints which are made up of the HTTP method, path, and header.
match
- The rule match. The RuleMatch
must be an HttpMatch
. This means that the rule
should be an exact match on HTTP constraints which are made up of the HTTP method, path, and header.public void setName(String name)
The name of the rule.
name
- The name of the rule.public String getName()
The name of the rule.
public CreateRuleResult withName(String name)
The name of the rule.
name
- The name of the rule.public void setPriority(Integer priority)
The priority assigned to the rule. The lower the priority number the higher the priority.
priority
- The priority assigned to the rule. The lower the priority number the higher the priority.public Integer getPriority()
The priority assigned to the rule. The lower the priority number the higher the priority.
public CreateRuleResult withPriority(Integer priority)
The priority assigned to the rule. The lower the priority number the higher the priority.
priority
- The priority assigned to the rule. The lower the priority number the higher the priority.public String toString()
toString
in class Object
Object.toString()
public CreateRuleResult clone()