@Generated(value="software.amazon.awssdk:codegen") public final class StreamNameCondition extends Object implements StructuredPojo, ToCopyableBuilder<StreamNameCondition.Builder,StreamNameCondition>
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.
Modifier and Type | Class and Description |
---|---|
static interface |
StreamNameCondition.Builder |
Modifier and Type | Method and Description |
---|---|
static StreamNameCondition.Builder |
builder() |
ComparisonOperator |
comparisonOperator()
A comparison operator.
|
String |
comparisonOperatorAsString()
A comparison operator.
|
String |
comparisonValue()
A value to compare.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
static Class<? extends StreamNameCondition.Builder> |
serializableBuilderClass() |
StreamNameCondition.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public ComparisonOperator comparisonOperator()
A comparison operator. Currently, you can specify only the BEGINS_WITH
operator, which finds streams
whose names start with a given prefix.
If the service returns an enum value that is not available in the current SDK version,
comparisonOperator
will return ComparisonOperator.UNKNOWN_TO_SDK_VERSION
. The raw value returned
by the service is available from comparisonOperatorAsString()
.
BEGINS_WITH
operator, which finds
streams whose names start with a given prefix.ComparisonOperator
public String comparisonOperatorAsString()
A comparison operator. Currently, you can specify only the BEGINS_WITH
operator, which finds streams
whose names start with a given prefix.
If the service returns an enum value that is not available in the current SDK version,
comparisonOperator
will return ComparisonOperator.UNKNOWN_TO_SDK_VERSION
. The raw value returned
by the service is available from comparisonOperatorAsString()
.
BEGINS_WITH
operator, which finds
streams whose names start with a given prefix.ComparisonOperator
public String comparisonValue()
A value to compare.
public StreamNameCondition.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<StreamNameCondition.Builder,StreamNameCondition>
public static StreamNameCondition.Builder builder()
public static Class<? extends StreamNameCondition.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.