@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListServiceInstancesFilter extends Object implements Serializable, Cloneable, StructuredPojo
A filtering criterion to scope down the result list of the ListServiceInstances action.
Constructor and Description |
---|
ListServiceInstancesFilter() |
Modifier and Type | Method and Description |
---|---|
ListServiceInstancesFilter |
clone() |
boolean |
equals(Object obj) |
String |
getKey()
The name of a filtering criterion.
|
String |
getValue()
A value to filter by.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setKey(String key)
The name of a filtering criterion.
|
void |
setValue(String value)
A value to filter by.
|
String |
toString()
Returns a string representation of this object.
|
ListServiceInstancesFilter |
withKey(ListServiceInstancesFilterBy key)
The name of a filtering criterion.
|
ListServiceInstancesFilter |
withKey(String key)
The name of a filtering criterion.
|
ListServiceInstancesFilter |
withValue(String value)
A value to filter by.
|
public void setKey(String key)
The name of a filtering criterion.
key
- The name of a filtering criterion.ListServiceInstancesFilterBy
public String getKey()
The name of a filtering criterion.
ListServiceInstancesFilterBy
public ListServiceInstancesFilter withKey(String key)
The name of a filtering criterion.
key
- The name of a filtering criterion.ListServiceInstancesFilterBy
public ListServiceInstancesFilter withKey(ListServiceInstancesFilterBy key)
The name of a filtering criterion.
key
- The name of a filtering criterion.ListServiceInstancesFilterBy
public void setValue(String value)
A value to filter by.
With the date/time keys (*At{Before,After}
), the value is a valid RFC 3339 string with no UTC offset and with an
optional fractional precision (for example, 1985-04-12T23:20:50.52Z
).
value
- A value to filter by.
With the date/time keys (*At{Before,After}
), the value is a valid RFC 3339 string with no UTC offset and with
an optional fractional precision (for example, 1985-04-12T23:20:50.52Z
).
public String getValue()
A value to filter by.
With the date/time keys (*At{Before,After}
), the value is a valid RFC 3339 string with no UTC offset and with an
optional fractional precision (for example, 1985-04-12T23:20:50.52Z
).
With the date/time keys (*At{Before,After}
), the value is a valid RFC 3339 string with no UTC offset and with
an optional fractional precision (for example, 1985-04-12T23:20:50.52Z
).
public ListServiceInstancesFilter withValue(String value)
A value to filter by.
With the date/time keys (*At{Before,After}
), the value is a valid RFC 3339 string with no UTC offset and with an
optional fractional precision (for example, 1985-04-12T23:20:50.52Z
).
value
- A value to filter by.
With the date/time keys (*At{Before,After}
), the value is a valid RFC 3339 string with no UTC offset and with
an optional fractional precision (for example, 1985-04-12T23:20:50.52Z
).
public String toString()
toString
in class Object
Object.toString()
public ListServiceInstancesFilter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.