Class Parameter
- java.lang.Object
-
- software.amazon.awssdk.services.dynamodb.streams.endpoints.internal.Parameter
-
- All Implemented Interfaces:
ToParameterReference
public final class Parameter extends Object implements ToParameterReference
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Parameter.Builder
static class
Parameter.Deprecated
-
Field Summary
Fields Modifier and Type Field Description static String
DEFAULT
static String
DEPRECATED
static String
DOCUMENTATION
static String
TYPE
-
Constructor Summary
Constructors Constructor Description Parameter(Parameter.Builder builder)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Parameter.Builder
builder()
BooleanEqualsFn
eq(boolean b)
BooleanEqualsFn
eq(Expr e)
boolean
equals(Object o)
Expr
expr()
static Parameter
fromNode(String name, JsonNode node)
Optional<String>
getBuiltIn()
Optional<Value>
getDefault()
The default value for this ParameterOptional<Value>
getDefaultValue()
Optional<Parameter.Deprecated>
getDeprecated()
Optional<String>
getDocumentation()
Identifier
getName()
ParameterType
getType()
Optional<Value>
getValue()
int
hashCode()
boolean
isBuiltIn()
boolean
isRequired()
String
template()
ParameterReference
toParameterReference()
String
toString()
-
-
-
Field Detail
-
TYPE
public static final String TYPE
- See Also:
- Constant Field Values
-
DEPRECATED
public static final String DEPRECATED
- See Also:
- Constant Field Values
-
DOCUMENTATION
public static final String DOCUMENTATION
- See Also:
- Constant Field Values
-
DEFAULT
public static final String DEFAULT
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Parameter
public Parameter(Parameter.Builder builder)
-
-
Method Detail
-
isRequired
public boolean isRequired()
-
getDeprecated
public Optional<Parameter.Deprecated> getDeprecated()
-
fromNode
public static Parameter fromNode(String name, JsonNode node) throws RuleError
- Throws:
RuleError
-
getType
public ParameterType getType()
-
getName
public Identifier getName()
-
isBuiltIn
public boolean isBuiltIn()
-
builder
public static Parameter.Builder builder()
-
toParameterReference
public ParameterReference toParameterReference()
- Specified by:
toParameterReference
in interfaceToParameterReference
-
template
public String template()
-
expr
public Expr expr()
-
eq
public BooleanEqualsFn eq(boolean b)
-
eq
public BooleanEqualsFn eq(Expr e)
-
getDefault
public Optional<Value> getDefault()
The default value for this Parameter- Returns:
- The value. This value must match the type of this parameter.
-
-