Class CfnDocumentationPart.Builder
java.lang.Object
software.amazon.awscdk.services.apigateway.CfnDocumentationPart.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDocumentationPart>
- Enclosing class:
CfnDocumentationPart
@Stability(Stable)
public static final class CfnDocumentationPart.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDocumentationPart>
A fluent builder for
CfnDocumentationPart
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static CfnDocumentationPart.Builder
location
(IResolvable location) The location of the targeted API entity of the to-be-created documentation part.The location of the targeted API entity of the to-be-created documentation part.properties
(String properties) The new documentation content map of the targeted API entity.The string identifier of the associated RestApi.
-
Method Details
-
create
@Stability(Stable) public static CfnDocumentationPart.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnDocumentationPart.Builder
.
-
location
The location of the targeted API entity of the to-be-created documentation part.- Parameters:
location
- The location of the targeted API entity of the to-be-created documentation part. This parameter is required.- Returns:
this
- See Also:
-
location
@Stability(Stable) public CfnDocumentationPart.Builder location(CfnDocumentationPart.LocationProperty location) The location of the targeted API entity of the to-be-created documentation part.- Parameters:
location
- The location of the targeted API entity of the to-be-created documentation part. This parameter is required.- Returns:
this
- See Also:
-
properties
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.
- Parameters:
properties
- The new documentation content map of the targeted API entity. This parameter is required.- Returns:
this
- See Also:
-
restApiId
The string identifier of the associated RestApi.- Parameters:
restApiId
- The string identifier of the associated RestApi. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDocumentationPart>
- Returns:
- a newly built instance of
CfnDocumentationPart
.
-