@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetRuleResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetRuleResult() |
Modifier and Type | Method and Description |
---|---|
GetRuleResult |
clone() |
boolean |
equals(Object obj) |
RuleAction |
getAction()
The action for the default rule.
|
String |
getArn()
The Amazon Resource Name (ARN) of the listener.
|
Date |
getCreatedAt()
The date and time that the listener rule was created, specified in ISO-8601 format.
|
String |
getId()
The ID of the listener.
|
Boolean |
getIsDefault()
Indicates whether this is the default rule.
|
Date |
getLastUpdatedAt()
The date and time that the listener rule was last updated, specified in ISO-8601 format.
|
RuleMatch |
getMatch()
The rule match.
|
String |
getName()
The name of the listener.
|
Integer |
getPriority()
The priority level for the specified rule.
|
int |
hashCode() |
Boolean |
isDefault()
Indicates whether this is the default rule.
|
void |
setAction(RuleAction action)
The action for the default rule.
|
void |
setArn(String arn)
The Amazon Resource Name (ARN) of the listener.
|
void |
setCreatedAt(Date createdAt)
The date and time that the listener rule was created, specified in ISO-8601 format.
|
void |
setId(String id)
The ID of the listener.
|
void |
setIsDefault(Boolean isDefault)
Indicates whether this is the default rule.
|
void |
setLastUpdatedAt(Date lastUpdatedAt)
The date and time that the listener rule was last updated, specified in ISO-8601 format.
|
void |
setMatch(RuleMatch match)
The rule match.
|
void |
setName(String name)
The name of the listener.
|
void |
setPriority(Integer priority)
The priority level for the specified rule.
|
String |
toString()
Returns a string representation of this object.
|
GetRuleResult |
withAction(RuleAction action)
The action for the default rule.
|
GetRuleResult |
withArn(String arn)
The Amazon Resource Name (ARN) of the listener.
|
GetRuleResult |
withCreatedAt(Date createdAt)
The date and time that the listener rule was created, specified in ISO-8601 format.
|
GetRuleResult |
withId(String id)
The ID of the listener.
|
GetRuleResult |
withIsDefault(Boolean isDefault)
Indicates whether this is the default rule.
|
GetRuleResult |
withLastUpdatedAt(Date lastUpdatedAt)
The date and time that the listener rule was last updated, specified in ISO-8601 format.
|
GetRuleResult |
withMatch(RuleMatch match)
The rule match.
|
GetRuleResult |
withName(String name)
The name of the listener.
|
GetRuleResult |
withPriority(Integer priority)
The priority level for the specified rule.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setAction(RuleAction action)
The action for the default rule.
action
- The action for the default rule.public RuleAction getAction()
The action for the default rule.
public GetRuleResult withAction(RuleAction action)
The action for the default rule.
action
- The action for the default rule.public void setArn(String arn)
The Amazon Resource Name (ARN) of the listener.
arn
- The Amazon Resource Name (ARN) of the listener.public String getArn()
The Amazon Resource Name (ARN) of the listener.
public GetRuleResult withArn(String arn)
The Amazon Resource Name (ARN) of the listener.
arn
- The Amazon Resource Name (ARN) of the listener.public void setCreatedAt(Date createdAt)
The date and time that the listener rule was created, specified in ISO-8601 format.
createdAt
- The date and time that the listener rule was created, specified in ISO-8601 format.public Date getCreatedAt()
The date and time that the listener rule was created, specified in ISO-8601 format.
public GetRuleResult withCreatedAt(Date createdAt)
The date and time that the listener rule was created, specified in ISO-8601 format.
createdAt
- The date and time that the listener rule was created, specified in ISO-8601 format.public void setId(String id)
The ID of the listener.
id
- The ID of the listener.public String getId()
The ID of the listener.
public GetRuleResult withId(String id)
The ID of the listener.
id
- The ID of the listener.public void setIsDefault(Boolean isDefault)
Indicates whether this is the default rule.
isDefault
- Indicates whether this is the default rule.public Boolean getIsDefault()
Indicates whether this is the default rule.
public GetRuleResult withIsDefault(Boolean isDefault)
Indicates whether this is the default rule.
isDefault
- Indicates whether this is the default rule.public Boolean isDefault()
Indicates whether this is the default rule.
public void setLastUpdatedAt(Date lastUpdatedAt)
The date and time that the listener rule was last updated, specified in ISO-8601 format.
lastUpdatedAt
- The date and time that the listener rule was last updated, specified in ISO-8601 format.public Date getLastUpdatedAt()
The date and time that the listener rule was last updated, specified in ISO-8601 format.
public GetRuleResult withLastUpdatedAt(Date lastUpdatedAt)
The date and time that the listener rule was last updated, specified in ISO-8601 format.
lastUpdatedAt
- The date and time that the listener rule was last updated, specified in ISO-8601 format.public void setMatch(RuleMatch match)
The rule match.
match
- The rule match.public RuleMatch getMatch()
The rule match.
public GetRuleResult withMatch(RuleMatch match)
The rule match.
match
- The rule match.public void setName(String name)
The name of the listener.
name
- The name of the listener.public String getName()
The name of the listener.
public GetRuleResult withName(String name)
The name of the listener.
name
- The name of the listener.public void setPriority(Integer priority)
The priority level for the specified rule.
priority
- The priority level for the specified rule.public Integer getPriority()
The priority level for the specified rule.
public GetRuleResult withPriority(Integer priority)
The priority level for the specified rule.
priority
- The priority level for the specified rule.public String toString()
toString
in class Object
Object.toString()
public GetRuleResult clone()