Interface CfnDocumentationPartProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDocumentationPartProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:44.795Z")
@Stability(Stable)
public interface CfnDocumentationPartProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnDocumentationPart.
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.*;
CfnDocumentationPartProps cfnDocumentationPartProps = CfnDocumentationPartProps.builder()
.location(LocationProperty.builder()
.method("method")
.name("name")
.path("path")
.statusCode("statusCode")
.type("type")
.build())
.properties("properties")
.restApiId("restApiId")
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnDocumentationPartPropsstatic final classAn implementation forCfnDocumentationPartProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()The location of the targeted API entity of the to-be-created documentation part.The new documentation content map of the targeted API entity.The string identifier of the associated RestApi.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getLocation
The location of the targeted API entity of the to-be-created documentation part. -
getProperties
The new documentation content map of the targeted API entity.Enclosed key-value pairs are API-specific, but only OpenAPI-compliant key-value pairs can be exported and, hence, published.
-
getRestApiId
The string identifier of the associated RestApi. -
builder
- Returns:
- a
CfnDocumentationPartProps.BuilderofCfnDocumentationPartProps
-