Package org.cdk8s
Interface NameOptions
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
NameOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.56.0 (build 55e7d15)", date="2022-04-19T00:08:55.888Z") @Stability(Stable) public interface NameOptions extends software.amazon.jsii.JsiiSerializable
Options for name generation.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
NameOptions.Builder
A builder forNameOptions
static class
NameOptions.Jsii$Proxy
An implementation forNameOptions
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static NameOptions.Builder
builder()
default String
getDelimiter()
Delimiter to use between components.default List<String>
getExtra()
Extra components to include in the name.default Boolean
getIncludeHash()
Include a short hash as last part of the name.default Number
getMaxLen()
Maximum allowed length for the name.
-
-
-
Method Detail
-
getDelimiter
@Stability(Stable) @Nullable default String getDelimiter()
Delimiter to use between components.Default: "-"
-
getExtra
@Stability(Stable) @Nullable default List<String> getExtra()
Extra components to include in the name.Default: [] use the construct path components
-
getIncludeHash
@Stability(Stable) @Nullable default Boolean getIncludeHash()
Include a short hash as last part of the name.Default: true
-
getMaxLen
@Stability(Stable) @Nullable default Number getMaxLen()
Maximum allowed length for the name.Default: 63
-
builder
@Stability(Stable) static NameOptions.Builder builder()
- Returns:
- a
NameOptions.Builder
ofNameOptions
-
-