public static final class CfnBasePathMapping.Builder
extends java.lang.Object
CfnBasePathMapping
.Modifier and Type | Method and Description |
---|---|
CfnBasePathMapping.Builder |
basePath(java.lang.String basePath)
The base path name that callers of the API must provide in the URL after the domain name.
|
CfnBasePathMapping |
build() |
static CfnBasePathMapping.Builder |
create(Construct scope,
java.lang.String id) |
CfnBasePathMapping.Builder |
domainName(java.lang.String domainName)
The `DomainName` of an [AWS::ApiGateway::DomainName](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-domainname.html) resource.
|
CfnBasePathMapping.Builder |
id(java.lang.String id)
`AWS::ApiGateway::BasePathMapping.Id`.
|
CfnBasePathMapping.Builder |
restApiId(java.lang.String restApiId)
The ID of the API.
|
CfnBasePathMapping.Builder |
stage(java.lang.String stage)
The name of the API's stage.
|
public static CfnBasePathMapping.Builder create(Construct scope, java.lang.String id)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. This parameter is required.CfnBasePathMapping.Builder
.public CfnBasePathMapping.Builder domainName(java.lang.String domainName)
domainName
- The `DomainName` of an [AWS::ApiGateway::DomainName](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-domainname.html) resource. This parameter is required.this
public CfnBasePathMapping.Builder basePath(java.lang.String basePath)
basePath
- The base path name that callers of the API must provide in the URL after the domain name. This parameter is required.this
public CfnBasePathMapping.Builder id(java.lang.String id)
id
- `AWS::ApiGateway::BasePathMapping.Id`. This parameter is required.this
public CfnBasePathMapping.Builder restApiId(java.lang.String restApiId)
restApiId
- The ID of the API. This parameter is required.this
public CfnBasePathMapping.Builder stage(java.lang.String stage)
stage
- The name of the API's stage. This parameter is required.this
public CfnBasePathMapping build()