@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StreamNameCondition extends Object implements Serializable, Cloneable, StructuredPojo
Specifies the condition that streams must satisfy to be returned when you list streams (see the
ListStreams
API). A condition has a comparison operation and a value. Currently, you can specify only
the BEGINS_WITH
operator, which finds streams whose names start with a given prefix.
Constructor and Description |
---|
StreamNameCondition() |
Modifier and Type | Method and Description |
---|---|
StreamNameCondition |
clone() |
boolean |
equals(Object obj) |
String |
getComparisonOperator()
A comparison operator.
|
String |
getComparisonValue()
A value to compare.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setComparisonOperator(String comparisonOperator)
A comparison operator.
|
void |
setComparisonValue(String comparisonValue)
A value to compare.
|
String |
toString()
Returns a string representation of this object.
|
StreamNameCondition |
withComparisonOperator(ComparisonOperator comparisonOperator)
A comparison operator.
|
StreamNameCondition |
withComparisonOperator(String comparisonOperator)
A comparison operator.
|
StreamNameCondition |
withComparisonValue(String comparisonValue)
A value to compare.
|
public void setComparisonOperator(String comparisonOperator)
A comparison operator. Currently, you can specify only the BEGINS_WITH
operator, which finds streams
whose names start with a given prefix.
comparisonOperator
- A comparison operator. Currently, you can specify only the BEGINS_WITH
operator, which finds
streams whose names start with a given prefix.ComparisonOperator
public String getComparisonOperator()
A comparison operator. Currently, you can specify only the BEGINS_WITH
operator, which finds streams
whose names start with a given prefix.
BEGINS_WITH
operator, which finds
streams whose names start with a given prefix.ComparisonOperator
public StreamNameCondition withComparisonOperator(String comparisonOperator)
A comparison operator. Currently, you can specify only the BEGINS_WITH
operator, which finds streams
whose names start with a given prefix.
comparisonOperator
- A comparison operator. Currently, you can specify only the BEGINS_WITH
operator, which finds
streams whose names start with a given prefix.ComparisonOperator
public StreamNameCondition withComparisonOperator(ComparisonOperator comparisonOperator)
A comparison operator. Currently, you can specify only the BEGINS_WITH
operator, which finds streams
whose names start with a given prefix.
comparisonOperator
- A comparison operator. Currently, you can specify only the BEGINS_WITH
operator, which finds
streams whose names start with a given prefix.ComparisonOperator
public void setComparisonValue(String comparisonValue)
A value to compare.
comparisonValue
- A value to compare.public String getComparisonValue()
A value to compare.
public StreamNameCondition withComparisonValue(String comparisonValue)
A value to compare.
comparisonValue
- A value to compare.public String toString()
toString
in class Object
Object.toString()
public StreamNameCondition clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.