@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Filter extends Object implements Serializable, Cloneable, StructuredPojo
Details about a filter.
Constructor and Description |
---|
Filter() |
Modifier and Type | Method and Description |
---|---|
Filter |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
Filter |
clearTagsEntries()
Removes all the entries added into Tags.
|
Filter |
clone() |
boolean |
equals(Object obj) |
String |
getAction()
The action that is to be applied to the findings that match the filter.
|
String |
getArn()
The Amazon Resource Number (ARN) associated with this filter.
|
Date |
getCreatedAt()
The date and time this filter was created at.
|
FilterCriteria |
getCriteria()
Details on the filter criteria associated with this filter.
|
String |
getDescription()
A description of the filter.
|
String |
getName()
The name of the filter.
|
String |
getOwnerId()
The Amazon Web Services account ID of the account that created the filter.
|
String |
getReason()
The reason for the filter.
|
Map<String,String> |
getTags()
The tags attached to the filter.
|
Date |
getUpdatedAt()
The date and time the filter was last updated at.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAction(String action)
The action that is to be applied to the findings that match the filter.
|
void |
setArn(String arn)
The Amazon Resource Number (ARN) associated with this filter.
|
void |
setCreatedAt(Date createdAt)
The date and time this filter was created at.
|
void |
setCriteria(FilterCriteria criteria)
Details on the filter criteria associated with this filter.
|
void |
setDescription(String description)
A description of the filter.
|
void |
setName(String name)
The name of the filter.
|
void |
setOwnerId(String ownerId)
The Amazon Web Services account ID of the account that created the filter.
|
void |
setReason(String reason)
The reason for the filter.
|
void |
setTags(Map<String,String> tags)
The tags attached to the filter.
|
void |
setUpdatedAt(Date updatedAt)
The date and time the filter was last updated at.
|
String |
toString()
Returns a string representation of this object.
|
Filter |
withAction(FilterAction action)
The action that is to be applied to the findings that match the filter.
|
Filter |
withAction(String action)
The action that is to be applied to the findings that match the filter.
|
Filter |
withArn(String arn)
The Amazon Resource Number (ARN) associated with this filter.
|
Filter |
withCreatedAt(Date createdAt)
The date and time this filter was created at.
|
Filter |
withCriteria(FilterCriteria criteria)
Details on the filter criteria associated with this filter.
|
Filter |
withDescription(String description)
A description of the filter.
|
Filter |
withName(String name)
The name of the filter.
|
Filter |
withOwnerId(String ownerId)
The Amazon Web Services account ID of the account that created the filter.
|
Filter |
withReason(String reason)
The reason for the filter.
|
Filter |
withTags(Map<String,String> tags)
The tags attached to the filter.
|
Filter |
withUpdatedAt(Date updatedAt)
The date and time the filter was last updated at.
|
public void setAction(String action)
The action that is to be applied to the findings that match the filter.
action
- The action that is to be applied to the findings that match the filter.FilterAction
public String getAction()
The action that is to be applied to the findings that match the filter.
FilterAction
public Filter withAction(String action)
The action that is to be applied to the findings that match the filter.
action
- The action that is to be applied to the findings that match the filter.FilterAction
public Filter withAction(FilterAction action)
The action that is to be applied to the findings that match the filter.
action
- The action that is to be applied to the findings that match the filter.FilterAction
public void setArn(String arn)
The Amazon Resource Number (ARN) associated with this filter.
arn
- The Amazon Resource Number (ARN) associated with this filter.public String getArn()
The Amazon Resource Number (ARN) associated with this filter.
public Filter withArn(String arn)
The Amazon Resource Number (ARN) associated with this filter.
arn
- The Amazon Resource Number (ARN) associated with this filter.public void setCreatedAt(Date createdAt)
The date and time this filter was created at.
createdAt
- The date and time this filter was created at.public Date getCreatedAt()
The date and time this filter was created at.
public Filter withCreatedAt(Date createdAt)
The date and time this filter was created at.
createdAt
- The date and time this filter was created at.public void setCriteria(FilterCriteria criteria)
Details on the filter criteria associated with this filter.
criteria
- Details on the filter criteria associated with this filter.public FilterCriteria getCriteria()
Details on the filter criteria associated with this filter.
public Filter withCriteria(FilterCriteria criteria)
Details on the filter criteria associated with this filter.
criteria
- Details on the filter criteria associated with this filter.public void setDescription(String description)
A description of the filter.
description
- A description of the filter.public String getDescription()
A description of the filter.
public Filter withDescription(String description)
A description of the filter.
description
- A description of the filter.public void setName(String name)
The name of the filter.
name
- The name of the filter.public String getName()
The name of the filter.
public Filter withName(String name)
The name of the filter.
name
- The name of the filter.public void setOwnerId(String ownerId)
The Amazon Web Services account ID of the account that created the filter.
ownerId
- The Amazon Web Services account ID of the account that created the filter.public String getOwnerId()
The Amazon Web Services account ID of the account that created the filter.
public Filter withOwnerId(String ownerId)
The Amazon Web Services account ID of the account that created the filter.
ownerId
- The Amazon Web Services account ID of the account that created the filter.public void setReason(String reason)
The reason for the filter.
reason
- The reason for the filter.public String getReason()
The reason for the filter.
public Filter withReason(String reason)
The reason for the filter.
reason
- The reason for the filter.public Map<String,String> getTags()
The tags attached to the filter.
public void setTags(Map<String,String> tags)
The tags attached to the filter.
tags
- The tags attached to the filter.public Filter withTags(Map<String,String> tags)
The tags attached to the filter.
tags
- The tags attached to the filter.public Filter clearTagsEntries()
public void setUpdatedAt(Date updatedAt)
The date and time the filter was last updated at.
updatedAt
- The date and time the filter was last updated at.public Date getUpdatedAt()
The date and time the filter was last updated at.
public Filter withUpdatedAt(Date updatedAt)
The date and time the filter was last updated at.
updatedAt
- The date and time the filter was last updated at.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.