@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RuleSummary extends Object implements Serializable, Cloneable, StructuredPojo
A list of ActionTypes
associated with a rule.
Constructor and Description |
---|
RuleSummary() |
Modifier and Type | Method and Description |
---|---|
RuleSummary |
clone() |
boolean |
equals(Object obj) |
List<ActionSummary> |
getActionSummaries()
A list of ActionTypes associated with a rule.
|
Date |
getCreatedTime()
The timestamp for when the rule was created.
|
String |
getEventSourceName()
The name of the event source.
|
Date |
getLastUpdatedTime()
The timestamp for when the rule was last updated.
|
String |
getName()
The name of the rule.
|
String |
getPublishStatus()
The publish status of the rule.
|
String |
getRuleArn()
The Amazon Resource Name (ARN) of the rule.
|
String |
getRuleId()
A unique identifier for the rule.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setActionSummaries(Collection<ActionSummary> actionSummaries)
A list of ActionTypes associated with a rule.
|
void |
setCreatedTime(Date createdTime)
The timestamp for when the rule was created.
|
void |
setEventSourceName(String eventSourceName)
The name of the event source.
|
void |
setLastUpdatedTime(Date lastUpdatedTime)
The timestamp for when the rule was last updated.
|
void |
setName(String name)
The name of the rule.
|
void |
setPublishStatus(String publishStatus)
The publish status of the rule.
|
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.
|
RuleSummary |
withActionSummaries(ActionSummary... actionSummaries)
A list of ActionTypes associated with a rule.
|
RuleSummary |
withActionSummaries(Collection<ActionSummary> actionSummaries)
A list of ActionTypes associated with a rule.
|
RuleSummary |
withCreatedTime(Date createdTime)
The timestamp for when the rule was created.
|
RuleSummary |
withEventSourceName(EventSourceName eventSourceName)
The name of the event source.
|
RuleSummary |
withEventSourceName(String eventSourceName)
The name of the event source.
|
RuleSummary |
withLastUpdatedTime(Date lastUpdatedTime)
The timestamp for when the rule was last updated.
|
RuleSummary |
withName(String name)
The name of the rule.
|
RuleSummary |
withPublishStatus(RulePublishStatus publishStatus)
The publish status of the rule.
|
RuleSummary |
withPublishStatus(String publishStatus)
The publish status of the rule.
|
RuleSummary |
withRuleArn(String ruleArn)
The Amazon Resource Name (ARN) of the rule.
|
RuleSummary |
withRuleId(String ruleId)
A unique identifier for the rule.
|
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 RuleSummary withName(String name)
The name of the rule.
name
- The name 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 RuleSummary withRuleId(String ruleId)
A unique identifier for the rule.
ruleId
- A unique identifier for the rule.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 RuleSummary withRuleArn(String ruleArn)
The Amazon Resource Name (ARN) of the rule.
ruleArn
- The Amazon Resource Name (ARN) of the rule.public void setEventSourceName(String eventSourceName)
The name of the event source.
eventSourceName
- The name of the event source.EventSourceName
public String getEventSourceName()
The name of the event source.
EventSourceName
public RuleSummary withEventSourceName(String eventSourceName)
The name of the event source.
eventSourceName
- The name of the event source.EventSourceName
public RuleSummary withEventSourceName(EventSourceName eventSourceName)
The name of the event source.
eventSourceName
- The name of the event source.EventSourceName
public void setPublishStatus(String publishStatus)
The publish status of the rule.
publishStatus
- The publish status of the rule.RulePublishStatus
public String getPublishStatus()
The publish status of the rule.
RulePublishStatus
public RuleSummary withPublishStatus(String publishStatus)
The publish status of the rule.
publishStatus
- The publish status of the rule.RulePublishStatus
public RuleSummary withPublishStatus(RulePublishStatus publishStatus)
The publish status of the rule.
publishStatus
- The publish status of the rule.RulePublishStatus
public List<ActionSummary> getActionSummaries()
A list of ActionTypes associated with a rule.
public void setActionSummaries(Collection<ActionSummary> actionSummaries)
A list of ActionTypes associated with a rule.
actionSummaries
- A list of ActionTypes associated with a rule.public RuleSummary withActionSummaries(ActionSummary... actionSummaries)
A list of ActionTypes associated with a rule.
NOTE: This method appends the values to the existing list (if any). Use
setActionSummaries(java.util.Collection)
or withActionSummaries(java.util.Collection)
if you
want to override the existing values.
actionSummaries
- A list of ActionTypes associated with a rule.public RuleSummary withActionSummaries(Collection<ActionSummary> actionSummaries)
A list of ActionTypes associated with a rule.
actionSummaries
- A list of ActionTypes associated with a rule.public void setCreatedTime(Date createdTime)
The timestamp for when the rule was created.
createdTime
- The timestamp for when the rule was created.public Date getCreatedTime()
The timestamp for when the rule was created.
public RuleSummary withCreatedTime(Date createdTime)
The timestamp for when the rule was created.
createdTime
- The timestamp for when the rule was created.public void setLastUpdatedTime(Date lastUpdatedTime)
The timestamp for when the rule was last updated.
lastUpdatedTime
- The timestamp for when the rule was last updated.public Date getLastUpdatedTime()
The timestamp for when the rule was last updated.
public RuleSummary withLastUpdatedTime(Date lastUpdatedTime)
The timestamp for when the rule was last updated.
lastUpdatedTime
- The timestamp for when the rule was last updated.public String toString()
toString
in class Object
Object.toString()
public RuleSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.