public class ChannelNameCondition
extends java.lang.Object
implements java.io.Serializable
An optional input parameter for the ListSignalingChannels
API.
When this parameter is specified while invoking
ListSignalingChannels
, the API returns only the channels that
satisfy a condition specified in ChannelNameCondition
.
Constructor and Description |
---|
ChannelNameCondition() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getComparisonOperator()
A comparison operator.
|
java.lang.String |
getComparisonValue()
A value to compare.
|
int |
hashCode() |
void |
setComparisonOperator(ComparisonOperator comparisonOperator)
A comparison operator.
|
void |
setComparisonOperator(java.lang.String comparisonOperator)
A comparison operator.
|
void |
setComparisonValue(java.lang.String comparisonValue)
A value to compare.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ChannelNameCondition |
withComparisonOperator(ComparisonOperator comparisonOperator)
A comparison operator.
|
ChannelNameCondition |
withComparisonOperator(java.lang.String comparisonOperator)
A comparison operator.
|
ChannelNameCondition |
withComparisonValue(java.lang.String comparisonValue)
A value to compare.
|
public java.lang.String getComparisonOperator()
A comparison operator. Currently, you can only specify the
BEGINS_WITH
operator, which finds signaling channels whose
names begin with a given prefix.
Constraints:
Allowed Values: BEGINS_WITH
A comparison operator. Currently, you can only specify the
BEGINS_WITH
operator, which finds signaling channels
whose names begin with a given prefix.
ComparisonOperator
public void setComparisonOperator(java.lang.String comparisonOperator)
A comparison operator. Currently, you can only specify the
BEGINS_WITH
operator, which finds signaling channels whose
names begin with a given prefix.
Constraints:
Allowed Values: BEGINS_WITH
comparisonOperator
-
A comparison operator. Currently, you can only specify the
BEGINS_WITH
operator, which finds signaling
channels whose names begin with a given prefix.
ComparisonOperator
public ChannelNameCondition withComparisonOperator(java.lang.String comparisonOperator)
A comparison operator. Currently, you can only specify the
BEGINS_WITH
operator, which finds signaling channels whose
names begin with a given prefix.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: BEGINS_WITH
comparisonOperator
-
A comparison operator. Currently, you can only specify the
BEGINS_WITH
operator, which finds signaling
channels whose names begin with a given prefix.
ComparisonOperator
public void setComparisonOperator(ComparisonOperator comparisonOperator)
A comparison operator. Currently, you can only specify the
BEGINS_WITH
operator, which finds signaling channels whose
names begin with a given prefix.
Constraints:
Allowed Values: BEGINS_WITH
comparisonOperator
-
A comparison operator. Currently, you can only specify the
BEGINS_WITH
operator, which finds signaling
channels whose names begin with a given prefix.
ComparisonOperator
public ChannelNameCondition withComparisonOperator(ComparisonOperator comparisonOperator)
A comparison operator. Currently, you can only specify the
BEGINS_WITH
operator, which finds signaling channels whose
names begin with a given prefix.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: BEGINS_WITH
comparisonOperator
-
A comparison operator. Currently, you can only specify the
BEGINS_WITH
operator, which finds signaling
channels whose names begin with a given prefix.
ComparisonOperator
public java.lang.String getComparisonValue()
A value to compare.
Constraints:
Length: 1 - 256
Pattern: [a-zA-Z0-9_.-]+
A value to compare.
public void setComparisonValue(java.lang.String comparisonValue)
A value to compare.
Constraints:
Length: 1 - 256
Pattern: [a-zA-Z0-9_.-]+
comparisonValue
- A value to compare.
public ChannelNameCondition withComparisonValue(java.lang.String comparisonValue)
A value to compare.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 256
Pattern: [a-zA-Z0-9_.-]+
comparisonValue
- A value to compare.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.