@Stability(value=Experimental) public static final class ResourceAttributes.Builder extends Object implements software.amazon.jsii.Builder<ResourceAttributes>
ResourceAttributes| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
ResourceAttributes |
build()
Builds the configured instance.
|
ResourceAttributes.Builder |
path(String path)
Sets the value of
ResourceAttributes.getPath() |
ResourceAttributes.Builder |
resourceId(String resourceId)
Sets the value of
ResourceAttributes.getResourceId() |
ResourceAttributes.Builder |
restApi(IRestApi restApi)
Sets the value of
ResourceAttributes.getRestApi() |
@Stability(value=Experimental) public ResourceAttributes.Builder path(String path)
ResourceAttributes.getPath()path - The full path of this resource. This parameter is required.this@Stability(value=Experimental) public ResourceAttributes.Builder resourceId(String resourceId)
ResourceAttributes.getResourceId()resourceId - The ID of the resource. This parameter is required.this@Stability(value=Experimental) public ResourceAttributes.Builder restApi(IRestApi restApi)
ResourceAttributes.getRestApi()restApi - The rest API that this resource is part of. This parameter is required.this@Stability(value=Experimental) public ResourceAttributes build()
build in interface software.amazon.jsii.Builder<ResourceAttributes>ResourceAttributesNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.