Interface ResourceAttributes
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ResourceAttributes.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:45.063Z")
@Stability(Stable)
public interface ResourceAttributes
extends software.amazon.jsii.JsiiSerializable
Attributes that can be specified when importing a Resource.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.apigateway.*;
RestApi restApi;
ResourceAttributes resourceAttributes = ResourceAttributes.builder()
.path("path")
.resourceId("resourceId")
.restApi(restApi)
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forResourceAttributesstatic final classAn implementation forResourceAttributes -
Method Summary
Modifier and TypeMethodDescriptionstatic ResourceAttributes.Builderbuilder()getPath()The full path of this resource.The ID of the resource.The rest API that this resource is part of.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getPath
The full path of this resource. -
getResourceId
The ID of the resource. -
getRestApi
The rest API that this resource is part of. -
builder
- Returns:
- a
ResourceAttributes.BuilderofResourceAttributes
-