Interface TemplateVariableMetadata.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<TemplateVariableMetadata.Builder,,TemplateVariableMetadata> SdkBuilder<TemplateVariableMetadata.Builder,,TemplateVariableMetadata> SdkPojo
- Enclosing class:
TemplateVariableMetadata
@Mutable
@NotThreadSafe
public static interface TemplateVariableMetadata.Builder
extends SdkPojo, CopyableBuilder<TemplateVariableMetadata.Builder,TemplateVariableMetadata>
-
Method Summary
Modifier and TypeMethodDescriptiondefaultValue(String defaultValue) The default value for the variable.description(String description) A description of the variable.The maximum length for string variables.The maximum value for numeric variables.The minimum value for numeric variables.The regex pattern the variable value must match.Whether the variable is required.A sample value for the variable.The source of the variable, eitherCUSTOMERorSYSTEM.source(TemplateVariableSource source) The source of the variable, eitherCUSTOMERorSYSTEM.The type of the variable.type(TemplateVariableType type) The type of the variable.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
type
The type of the variable.
- Parameters:
type- The type of the variable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of the variable.
- Parameters:
type- The type of the variable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
required
Whether the variable is required.
- Parameters:
required- Whether the variable is required.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A description of the variable.
- Parameters:
description- A description of the variable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxLength
The maximum length for string variables.
- Parameters:
maxLength- The maximum length for string variables.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
minValue
The minimum value for numeric variables.
- Parameters:
minValue- The minimum value for numeric variables.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxValue
The maximum value for numeric variables.
- Parameters:
maxValue- The maximum value for numeric variables.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
defaultValue
The default value for the variable.
- Parameters:
defaultValue- The default value for the variable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pattern
The regex pattern the variable value must match.
- Parameters:
pattern- The regex pattern the variable value must match.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sample
A sample value for the variable.
- Parameters:
sample- A sample value for the variable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
source
The source of the variable, either
CUSTOMERorSYSTEM.- Parameters:
source- The source of the variable, eitherCUSTOMERorSYSTEM.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
source
The source of the variable, either
CUSTOMERorSYSTEM.- Parameters:
source- The source of the variable, eitherCUSTOMERorSYSTEM.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-