@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetRuleSetResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetRuleSetResult() |
Modifier and Type | Method and Description |
---|---|
GetRuleSetResult |
clone() |
boolean |
equals(Object obj) |
Date |
getCreatedDate()
The date of when then rule set was created.
|
Date |
getLastModificationDate()
The date of when the rule set was last modified.
|
List<Rule> |
getRules()
The rules contained in the rule set.
|
String |
getRuleSetArn()
The Amazon Resource Name (ARN) of the rule set resource.
|
String |
getRuleSetId()
The identifier of the rule set resource.
|
String |
getRuleSetName()
A user-friendly name for the rule set resource.
|
int |
hashCode() |
void |
setCreatedDate(Date createdDate)
The date of when then rule set was created.
|
void |
setLastModificationDate(Date lastModificationDate)
The date of when the rule set was last modified.
|
void |
setRules(Collection<Rule> rules)
The rules contained in the rule set.
|
void |
setRuleSetArn(String ruleSetArn)
The Amazon Resource Name (ARN) of the rule set resource.
|
void |
setRuleSetId(String ruleSetId)
The identifier of the rule set resource.
|
void |
setRuleSetName(String ruleSetName)
A user-friendly name for the rule set resource.
|
String |
toString()
Returns a string representation of this object.
|
GetRuleSetResult |
withCreatedDate(Date createdDate)
The date of when then rule set was created.
|
GetRuleSetResult |
withLastModificationDate(Date lastModificationDate)
The date of when the rule set was last modified.
|
GetRuleSetResult |
withRules(Collection<Rule> rules)
The rules contained in the rule set.
|
GetRuleSetResult |
withRules(Rule... rules)
The rules contained in the rule set.
|
GetRuleSetResult |
withRuleSetArn(String ruleSetArn)
The Amazon Resource Name (ARN) of the rule set resource.
|
GetRuleSetResult |
withRuleSetId(String ruleSetId)
The identifier of the rule set resource.
|
GetRuleSetResult |
withRuleSetName(String ruleSetName)
A user-friendly name for the rule set resource.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setCreatedDate(Date createdDate)
The date of when then rule set was created.
createdDate
- The date of when then rule set was created.public Date getCreatedDate()
The date of when then rule set was created.
public GetRuleSetResult withCreatedDate(Date createdDate)
The date of when then rule set was created.
createdDate
- The date of when then rule set was created.public void setLastModificationDate(Date lastModificationDate)
The date of when the rule set was last modified.
lastModificationDate
- The date of when the rule set was last modified.public Date getLastModificationDate()
The date of when the rule set was last modified.
public GetRuleSetResult withLastModificationDate(Date lastModificationDate)
The date of when the rule set was last modified.
lastModificationDate
- The date of when the rule set was last modified.public void setRuleSetArn(String ruleSetArn)
The Amazon Resource Name (ARN) of the rule set resource.
ruleSetArn
- The Amazon Resource Name (ARN) of the rule set resource.public String getRuleSetArn()
The Amazon Resource Name (ARN) of the rule set resource.
public GetRuleSetResult withRuleSetArn(String ruleSetArn)
The Amazon Resource Name (ARN) of the rule set resource.
ruleSetArn
- The Amazon Resource Name (ARN) of the rule set resource.public void setRuleSetId(String ruleSetId)
The identifier of the rule set resource.
ruleSetId
- The identifier of the rule set resource.public String getRuleSetId()
The identifier of the rule set resource.
public GetRuleSetResult withRuleSetId(String ruleSetId)
The identifier of the rule set resource.
ruleSetId
- The identifier of the rule set resource.public void setRuleSetName(String ruleSetName)
A user-friendly name for the rule set resource.
ruleSetName
- A user-friendly name for the rule set resource.public String getRuleSetName()
A user-friendly name for the rule set resource.
public GetRuleSetResult withRuleSetName(String ruleSetName)
A user-friendly name for the rule set resource.
ruleSetName
- A user-friendly name for the rule set resource.public List<Rule> getRules()
The rules contained in the rule set.
public void setRules(Collection<Rule> rules)
The rules contained in the rule set.
rules
- The rules contained in the rule set.public GetRuleSetResult withRules(Rule... rules)
The rules contained in the rule set.
NOTE: This method appends the values to the existing list (if any). Use
setRules(java.util.Collection)
or withRules(java.util.Collection)
if you want to override the
existing values.
rules
- The rules contained in the rule set.public GetRuleSetResult withRules(Collection<Rule> rules)
The rules contained in the rule set.
rules
- The rules contained in the rule set.public String toString()
toString
in class Object
Object.toString()
public GetRuleSetResult clone()