@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GrpcMetadataMatchMethod extends Object implements Serializable, Cloneable, StructuredPojo
An object representing the method header to be matched.
Constructor and Description |
---|
GrpcMetadataMatchMethod() |
Modifier and Type | Method and Description |
---|---|
GrpcMetadataMatchMethod |
clone() |
boolean |
equals(Object obj) |
String |
getExact()
The exact method header to be matched on.
|
String |
getPrefix()
The specified beginning characters of the method header to be matched on.
|
MatchRange |
getRange() |
String |
getRegex()
The regex used to match the method header.
|
String |
getSuffix()
The specified ending characters of the method header to match on.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setExact(String exact)
The exact method header to be matched on.
|
void |
setPrefix(String prefix)
The specified beginning characters of the method header to be matched on.
|
void |
setRange(MatchRange range) |
void |
setRegex(String regex)
The regex used to match the method header.
|
void |
setSuffix(String suffix)
The specified ending characters of the method header to match on.
|
String |
toString()
Returns a string representation of this object.
|
GrpcMetadataMatchMethod |
withExact(String exact)
The exact method header to be matched on.
|
GrpcMetadataMatchMethod |
withPrefix(String prefix)
The specified beginning characters of the method header to be matched on.
|
GrpcMetadataMatchMethod |
withRange(MatchRange range) |
GrpcMetadataMatchMethod |
withRegex(String regex)
The regex used to match the method header.
|
GrpcMetadataMatchMethod |
withSuffix(String suffix)
The specified ending characters of the method header to match on.
|
public void setExact(String exact)
The exact method header to be matched on.
exact
- The exact method header to be matched on.public String getExact()
The exact method header to be matched on.
public GrpcMetadataMatchMethod withExact(String exact)
The exact method header to be matched on.
exact
- The exact method header to be matched on.public void setPrefix(String prefix)
The specified beginning characters of the method header to be matched on.
prefix
- The specified beginning characters of the method header to be matched on.public String getPrefix()
The specified beginning characters of the method header to be matched on.
public GrpcMetadataMatchMethod withPrefix(String prefix)
The specified beginning characters of the method header to be matched on.
prefix
- The specified beginning characters of the method header to be matched on.public void setRange(MatchRange range)
range
- public MatchRange getRange()
public GrpcMetadataMatchMethod withRange(MatchRange range)
range
- public void setRegex(String regex)
The regex used to match the method header.
regex
- The regex used to match the method header.public String getRegex()
The regex used to match the method header.
public GrpcMetadataMatchMethod withRegex(String regex)
The regex used to match the method header.
regex
- The regex used to match the method header.public void setSuffix(String suffix)
The specified ending characters of the method header to match on.
suffix
- The specified ending characters of the method header to match on.public String getSuffix()
The specified ending characters of the method header to match on.
public GrpcMetadataMatchMethod withSuffix(String suffix)
The specified ending characters of the method header to match on.
suffix
- The specified ending characters of the method header to match on.public String toString()
toString
in class Object
Object.toString()
public GrpcMetadataMatchMethod clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.