@Stability(value=Stable) public static final class CfnResourceProps.Builder extends Object
CfnResourceProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnResourceProps |
build()
Builds the configured instance.
|
CfnResourceProps.Builder |
withProperties(Map<String,Object> value)
Sets the value of Properties
|
CfnResourceProps.Builder |
withType(String value)
Sets the value of Type
|
@Stability(value=Stable) public CfnResourceProps.Builder withType(String value)
value - CloudFormation resource type (e.g. `AWS::S3::Bucket`).this@Stability(value=Stable) public CfnResourceProps.Builder withProperties(@Nullable Map<String,Object> value)
value - Resource properties.this@Stability(value=Stable) public CfnResourceProps build()
CfnResourcePropsNullPointerException - if any required attribute was not providedCopyright © 2019. All rights reserved.