@Stability(value=Stable) public static final class ResourceProps.Builder extends Object implements software.amazon.jsii.Builder<ResourceProps>
ResourceProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
ResourceProps |
build()
Builds the configured instance.
|
ResourceProps.Builder |
metadata(org.cdk8s.ApiObjectMetadata metadata)
Sets the value of
ResourceProps.getMetadata() |
@Stability(value=Stable) public ResourceProps.Builder metadata(org.cdk8s.ApiObjectMetadata metadata)
ResourceProps.getMetadata()metadata - Metadata that all persisted resources must have, which includes all objects users must create.this@Stability(value=Stable) public ResourceProps build()
build in interface software.amazon.jsii.Builder<ResourceProps>ResourcePropsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.