@Stability(value=Stable) public static final class UniqueResourceNameOptions.Builder extends Object implements software.amazon.jsii.Builder<UniqueResourceNameOptions>
UniqueResourceNameOptions| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
UniqueResourceNameOptions.Builder |
allowedSpecialCharacters(String allowedSpecialCharacters)
Sets the value of
UniqueResourceNameOptions.getAllowedSpecialCharacters() |
UniqueResourceNameOptions |
build()
Builds the configured instance.
|
UniqueResourceNameOptions.Builder |
maxLength(Number maxLength)
Sets the value of
UniqueResourceNameOptions.getMaxLength() |
UniqueResourceNameOptions.Builder |
separator(String separator)
Sets the value of
UniqueResourceNameOptions.getSeparator() |
@Stability(value=Stable) public UniqueResourceNameOptions.Builder allowedSpecialCharacters(String allowedSpecialCharacters)
UniqueResourceNameOptions.getAllowedSpecialCharacters()allowedSpecialCharacters - Non-alphanumeric characters allowed in the unique resource name.this@Stability(value=Stable) public UniqueResourceNameOptions.Builder maxLength(Number maxLength)
UniqueResourceNameOptions.getMaxLength()maxLength - The maximum length of the unique resource name.this@Stability(value=Stable) public UniqueResourceNameOptions.Builder separator(String separator)
UniqueResourceNameOptions.getSeparator()separator - The separator used between the path components.this@Stability(value=Stable) public UniqueResourceNameOptions build()
build in interface software.amazon.jsii.Builder<UniqueResourceNameOptions>UniqueResourceNameOptionsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.