@Stability(value=Stable) public static final class NameOptions.Builder extends Object implements software.amazon.jsii.Builder<NameOptions>
NameOptions
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
NameOptions |
build()
Builds the configured instance.
|
NameOptions.Builder |
delimiter(String delimiter)
Sets the value of
NameOptions.getDelimiter() |
NameOptions.Builder |
extra(List<String> extra)
Sets the value of
NameOptions.getExtra() |
NameOptions.Builder |
includeHash(Boolean includeHash)
Sets the value of
NameOptions.getIncludeHash() |
NameOptions.Builder |
maxLen(Number maxLen)
Sets the value of
NameOptions.getMaxLen() |
@Stability(value=Stable) public NameOptions.Builder delimiter(String delimiter)
NameOptions.getDelimiter()
delimiter
- Delimiter to use between components.this
@Stability(value=Stable) public NameOptions.Builder extra(List<String> extra)
NameOptions.getExtra()
extra
- Extra components to include in the name.this
@Stability(value=Stable) public NameOptions.Builder includeHash(Boolean includeHash)
NameOptions.getIncludeHash()
includeHash
- Include a short hash as last part of the name.this
@Stability(value=Stable) public NameOptions.Builder maxLen(Number maxLen)
NameOptions.getMaxLen()
maxLen
- Maximum allowed length for the name.this
@Stability(value=Stable) public NameOptions build()
build
in interface software.amazon.jsii.Builder<NameOptions>
NameOptions
NullPointerException
- if any required attribute was not providedCopyright © 2021. All rights reserved.