Class CfnDocumentationPartPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.apigateway.CfnDocumentationPartPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDocumentationPartPropsMixin>
- Enclosing class:
CfnDocumentationPartPropsMixin
@Stability(Stable)
public static final class CfnDocumentationPartPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDocumentationPartPropsMixin>
A fluent builder for
CfnDocumentationPartPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()create(CfnPropertyMixinOptions options) The location of the targeted API entity of the to-be-created documentation part.location(IResolvable location) 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.restApiId(IRestApiRef restApiId) The string identifier of the associated RestApi.
-
Method Details
-
create
@Stability(Stable) public static CfnDocumentationPartPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnDocumentationPartPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnDocumentationPartPropsMixin.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 CfnDocumentationPartPropsMixin.Builder location(CfnDocumentationPartPropsMixin.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:
-
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:
buildin interfacesoftware.amazon.jsii.Builder<CfnDocumentationPartPropsMixin>- Returns:
- a newly built instance of
CfnDocumentationPartPropsMixin.
-