public static final class CfnVirtualGateway.Builder
extends java.lang.Object
CfnVirtualGateway
.Modifier and Type | Method and Description |
---|---|
CfnVirtualGateway |
build() |
static CfnVirtualGateway.Builder |
create(Construct scope,
java.lang.String id) |
CfnVirtualGateway.Builder |
meshName(java.lang.String meshName)
The name of the service mesh that the virtual gateway resides in.
|
CfnVirtualGateway.Builder |
meshOwner(java.lang.String meshOwner)
The AWS IAM account ID of the service mesh owner.
|
CfnVirtualGateway.Builder |
spec(CfnVirtualGateway.VirtualGatewaySpecProperty spec)
The specifications of the virtual gateway.
|
CfnVirtualGateway.Builder |
spec(IResolvable spec)
The specifications of the virtual gateway.
|
CfnVirtualGateway.Builder |
tags(java.util.List<? extends CfnTag> tags)
Optional metadata that you can apply to the virtual gateway to assist with categorization and organization.
|
CfnVirtualGateway.Builder |
virtualGatewayName(java.lang.String virtualGatewayName)
The name of the virtual gateway.
|
public static CfnVirtualGateway.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.CfnVirtualGateway.JsonFormatRefProperty.Builder
.public CfnVirtualGateway.Builder meshName(java.lang.String meshName)
meshName
- The name of the service mesh that the virtual gateway resides in. This parameter is required.this
public CfnVirtualGateway.Builder spec(IResolvable spec)
spec
- The specifications of the virtual gateway. This parameter is required.this
public CfnVirtualGateway.Builder spec(CfnVirtualGateway.VirtualGatewaySpecProperty spec)
spec
- The specifications of the virtual gateway. This parameter is required.this
public CfnVirtualGateway.Builder meshOwner(java.lang.String meshOwner)
If the account ID is not your own, then it's the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes .
meshOwner
- The AWS IAM account ID of the service mesh owner. This parameter is required.this
public CfnVirtualGateway.Builder tags(java.util.List<? extends CfnTag> tags)
Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.
tags
- Optional metadata that you can apply to the virtual gateway to assist with categorization and organization. This parameter is required.this
public CfnVirtualGateway.Builder virtualGatewayName(java.lang.String virtualGatewayName)
virtualGatewayName
- The name of the virtual gateway. This parameter is required.this
public CfnVirtualGateway build()