@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class VisibilityConditions extends Object implements Serializable, Cloneable, StructuredPojo
The list of key-value pairs used to filter your search results. If a search result contains a key from your list, it is included in the final search response if the value associated with the key in the result matches the value you specified. If the value doesn't match, the result is excluded from the search response. Any resources that don't have a key from the list that you've provided will also be included in the search response.
Constructor and Description |
---|
VisibilityConditions() |
Modifier and Type | Method and Description |
---|---|
VisibilityConditions |
clone() |
boolean |
equals(Object obj) |
String |
getKey()
The key that specifies the tag that you're using to filter the search results.
|
String |
getValue()
The value for the tag that you're using to filter the search results.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setKey(String key)
The key that specifies the tag that you're using to filter the search results.
|
void |
setValue(String value)
The value for the tag that you're using to filter the search results.
|
String |
toString()
Returns a string representation of this object.
|
VisibilityConditions |
withKey(String key)
The key that specifies the tag that you're using to filter the search results.
|
VisibilityConditions |
withValue(String value)
The value for the tag that you're using to filter the search results.
|
public void setKey(String key)
The key that specifies the tag that you're using to filter the search results. It must be in the following
format: Tags.<key>
.
key
- The key that specifies the tag that you're using to filter the search results. It must be in the following
format: Tags.<key>
.public String getKey()
The key that specifies the tag that you're using to filter the search results. It must be in the following
format: Tags.<key>
.
Tags.<key>
.public VisibilityConditions withKey(String key)
The key that specifies the tag that you're using to filter the search results. It must be in the following
format: Tags.<key>
.
key
- The key that specifies the tag that you're using to filter the search results. It must be in the following
format: Tags.<key>
.public void setValue(String value)
The value for the tag that you're using to filter the search results.
value
- The value for the tag that you're using to filter the search results.public String getValue()
The value for the tag that you're using to filter the search results.
public VisibilityConditions withValue(String value)
The value for the tag that you're using to filter the search results.
value
- The value for the tag that you're using to filter the search results.public String toString()
toString
in class Object
Object.toString()
public VisibilityConditions clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.