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();
 
  • Method Details

    • getLocation

      @Stability(Stable) @NotNull Object getLocation()
      The location of the targeted API entity of the to-be-created documentation part.
    • getProperties

      @Stability(Stable) @NotNull String 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

      @Stability(Stable) @NotNull String getRestApiId()
      The string identifier of the associated RestApi.
    • builder

      @Stability(Stable) static CfnDocumentationPartProps.Builder builder()
      Returns:
      a CfnDocumentationPartProps.Builder of CfnDocumentationPartProps