@Stability(value=Stable) public static final class CfnResourceProps.Builder extends Object implements software.amazon.jsii.Builder<CfnResourceProps>
CfnResourceProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnResourceProps |
build()
Builds the configured instance.
|
CfnResourceProps.Builder |
parentId(String parentId)
Sets the value of
CfnResourceProps.getParentId() |
CfnResourceProps.Builder |
pathPart(String pathPart)
Sets the value of
CfnResourceProps.getPathPart() |
CfnResourceProps.Builder |
restApiId(String restApiId)
Sets the value of
CfnResourceProps.getRestApiId() |
@Stability(value=Stable) public CfnResourceProps.Builder parentId(String parentId)
CfnResourceProps.getParentId()parentId - If you want to create a child resource, the ID of the parent resource. This parameter is required.
For resources without a parent, specify the RestApi root resource ID, such as { "Fn::GetAtt": ["MyRestApi", "RootResourceId"] } .this@Stability(value=Stable) public CfnResourceProps.Builder pathPart(String pathPart)
CfnResourceProps.getPathPart()pathPart - A path name for the resource. This parameter is required.this@Stability(value=Stable) public CfnResourceProps.Builder restApiId(String restApiId)
CfnResourceProps.getRestApiId()restApiId - The ID of the [RestApi](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-restapi.html) resource in which you want to create this resource. This parameter is required.this@Stability(value=Stable) public CfnResourceProps build()
build in interface software.amazon.jsii.Builder<CfnResourceProps>CfnResourcePropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.