@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListNotificationRulesFilter extends Object implements Serializable, Cloneable, StructuredPojo
Information about a filter to apply to the list of returned notification rules. You can filter by event type, owner, resource, or target.
Constructor and Description |
---|
ListNotificationRulesFilter() |
Modifier and Type | Method and Description |
---|---|
ListNotificationRulesFilter |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The name of the attribute you want to use to filter the returned notification rules.
|
String |
getValue()
The value of the attribute you want to use to filter the returned notification rules.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setName(String name)
The name of the attribute you want to use to filter the returned notification rules.
|
void |
setValue(String value)
The value of the attribute you want to use to filter the returned notification rules.
|
String |
toString()
Returns a string representation of this object.
|
ListNotificationRulesFilter |
withName(ListNotificationRulesFilterName name)
The name of the attribute you want to use to filter the returned notification rules.
|
ListNotificationRulesFilter |
withName(String name)
The name of the attribute you want to use to filter the returned notification rules.
|
ListNotificationRulesFilter |
withValue(String value)
The value of the attribute you want to use to filter the returned notification rules.
|
public void setName(String name)
The name of the attribute you want to use to filter the returned notification rules.
name
- The name of the attribute you want to use to filter the returned notification rules.ListNotificationRulesFilterName
public String getName()
The name of the attribute you want to use to filter the returned notification rules.
ListNotificationRulesFilterName
public ListNotificationRulesFilter withName(String name)
The name of the attribute you want to use to filter the returned notification rules.
name
- The name of the attribute you want to use to filter the returned notification rules.ListNotificationRulesFilterName
public ListNotificationRulesFilter withName(ListNotificationRulesFilterName name)
The name of the attribute you want to use to filter the returned notification rules.
name
- The name of the attribute you want to use to filter the returned notification rules.ListNotificationRulesFilterName
public void setValue(String value)
The value of the attribute you want to use to filter the returned notification rules. For example, if you specify filtering by RESOURCE in Name, you might specify the ARN of a pipeline in CodePipeline for the value.
value
- The value of the attribute you want to use to filter the returned notification rules. For example, if you
specify filtering by RESOURCE in Name, you might specify the ARN of a pipeline in CodePipeline for
the value.public String getValue()
The value of the attribute you want to use to filter the returned notification rules. For example, if you specify filtering by RESOURCE in Name, you might specify the ARN of a pipeline in CodePipeline for the value.
public ListNotificationRulesFilter withValue(String value)
The value of the attribute you want to use to filter the returned notification rules. For example, if you specify filtering by RESOURCE in Name, you might specify the ARN of a pipeline in CodePipeline for the value.
value
- The value of the attribute you want to use to filter the returned notification rules. For example, if you
specify filtering by RESOURCE in Name, you might specify the ARN of a pipeline in CodePipeline for
the value.public String toString()
toString
in class Object
Object.toString()
public ListNotificationRulesFilter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.