Class CfnDocumentationVersion.Builder
java.lang.Object
software.amazon.awscdk.services.apigateway.CfnDocumentationVersion.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDocumentationVersion>
- Enclosing class:
- CfnDocumentationVersion
@Stability(Stable)
public static final class CfnDocumentationVersion.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDocumentationVersion>
A fluent builder for
CfnDocumentationVersion.-
Method Summary
Modifier and TypeMethodDescriptionbuild()description(String description) A description about the new documentation snapshot.documentationVersion(String documentationVersion) The version identifier of the to-be-updated documentation version.The string identifier of the associated RestApi.
-
Method Details
-
create
- Parameters:
scope-- scope in which this resource is defined.
id-- scoped id of the resource.
- Returns:
- a new instance of
CfnDocumentationVersion.Builder.
-
documentationVersion
@Stability(Stable) public CfnDocumentationVersion.Builder documentationVersion(String documentationVersion) The version identifier of the to-be-updated documentation version.- Parameters:
documentationVersion- The version identifier of the to-be-updated documentation version. This parameter is required.- Returns:
this
-
restApiId
The string identifier of the associated RestApi.- Parameters:
restApiId- The string identifier of the associated RestApi. This parameter is required.- Returns:
this
-
description
A description about the new documentation snapshot.- Parameters:
description- A description about the new documentation snapshot. This parameter is required.- Returns:
this
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDocumentationVersion>- Returns:
- a newly built instance of
CfnDocumentationVersion.
-