Class HeadersExpression
- java.lang.Object
-
- software.amazon.awssdk.codegen.poet.rules2.HeadersExpression
-
- All Implemented Interfaces:
RuleExpression
public final class HeadersExpression extends Object implements RuleExpression
Represents a list of headers expression.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
HeadersExpression.Builder
-
Nested classes/interfaces inherited from interface software.amazon.awssdk.codegen.poet.rules2.RuleExpression
RuleExpression.RuleExpressionKind
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> T
accept(RuleExpressionVisitor<T> visitor)
StringBuilder
appendTo(StringBuilder buf)
static HeadersExpression.Builder
builder()
static HeadersExpression
empty()
boolean
equals(Object o)
int
hashCode()
Map<String,ListExpression>
headers()
RuleExpression.RuleExpressionKind
kind()
String
toString()
RuleType
type()
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.codegen.poet.rules2.RuleExpression
simplify
-
-
-
-
Method Detail
-
empty
public static HeadersExpression empty()
-
builder
public static HeadersExpression.Builder builder()
-
kind
public RuleExpression.RuleExpressionKind kind()
- Specified by:
kind
in interfaceRuleExpression
-
appendTo
public StringBuilder appendTo(StringBuilder buf)
- Specified by:
appendTo
in interfaceRuleExpression
-
accept
public <T> T accept(RuleExpressionVisitor<T> visitor)
- Specified by:
accept
in interfaceRuleExpression
-
headers
public Map<String,ListExpression> headers()
-
type
public RuleType type()
- Specified by:
type
in interfaceRuleExpression
-
-