Class CfnDocumentationPartMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.apigateway.CfnDocumentationPartMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDocumentationPartMixinProps>
- Enclosing interface:
CfnDocumentationPartMixinProps
@Stability(Stable)
public static final class CfnDocumentationPartMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDocumentationPartMixinProps>
A builder for
CfnDocumentationPartMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnDocumentationPartMixinProps.getLocation()location(IResolvable location) Sets the value ofCfnDocumentationPartMixinProps.getLocation()properties(String properties) Sets the value ofCfnDocumentationPartMixinProps.getProperties()Sets the value ofCfnDocumentationPartMixinProps.getRestApiId()restApiId(IRestApiRef restApiId) Sets the value ofCfnDocumentationPartMixinProps.getRestApiId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
location
Sets the value ofCfnDocumentationPartMixinProps.getLocation()- Parameters:
location- The location of the targeted API entity of the to-be-created documentation part.- Returns:
this
-
location
@Stability(Stable) public CfnDocumentationPartMixinProps.Builder location(CfnDocumentationPartPropsMixin.LocationProperty location) Sets the value ofCfnDocumentationPartMixinProps.getLocation()- Parameters:
location- The location of the targeted API entity of the to-be-created documentation part.- Returns:
this
-
properties
Sets the value ofCfnDocumentationPartMixinProps.getProperties()- Parameters:
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.- Returns:
this
-
restApiId
Sets the value ofCfnDocumentationPartMixinProps.getRestApiId()- Parameters:
restApiId- The string identifier of the associated RestApi.- Returns:
this
-
restApiId
Sets the value ofCfnDocumentationPartMixinProps.getRestApiId()- Parameters:
restApiId- The string identifier of the associated RestApi.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDocumentationPartMixinProps>- Returns:
- a new instance of
CfnDocumentationPartMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-