public static final class CfnVirtualGatewayProps.Builder
extends java.lang.Object
CfnVirtualGatewayProps
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnVirtualGatewayProps |
build()
Builds the configured instance.
|
CfnVirtualGatewayProps.Builder |
meshName(java.lang.String meshName)
Sets the value of
CfnVirtualGatewayProps.getMeshName() |
CfnVirtualGatewayProps.Builder |
meshOwner(java.lang.String meshOwner)
Sets the value of
CfnVirtualGatewayProps.getMeshOwner() |
CfnVirtualGatewayProps.Builder |
spec(CfnVirtualGateway.VirtualGatewaySpecProperty spec)
Sets the value of
CfnVirtualGatewayProps.getSpec() |
CfnVirtualGatewayProps.Builder |
spec(IResolvable spec)
Sets the value of
CfnVirtualGatewayProps.getSpec() |
CfnVirtualGatewayProps.Builder |
tags(java.util.List<? extends CfnTag> tags)
Sets the value of
CfnVirtualGatewayProps.getTags() |
CfnVirtualGatewayProps.Builder |
virtualGatewayName(java.lang.String virtualGatewayName)
Sets the value of
CfnVirtualGatewayProps.getVirtualGatewayName() |
public CfnVirtualGatewayProps.Builder meshName(java.lang.String meshName)
CfnVirtualGatewayProps.getMeshName()
meshName
- The name of the service mesh that the virtual gateway resides in. This parameter is required.this
public CfnVirtualGatewayProps.Builder spec(IResolvable spec)
CfnVirtualGatewayProps.getSpec()
spec
- The specifications of the virtual gateway. This parameter is required.this
public CfnVirtualGatewayProps.Builder spec(CfnVirtualGateway.VirtualGatewaySpecProperty spec)
CfnVirtualGatewayProps.getSpec()
spec
- The specifications of the virtual gateway. This parameter is required.this
public CfnVirtualGatewayProps.Builder meshOwner(java.lang.String meshOwner)
CfnVirtualGatewayProps.getMeshOwner()
meshOwner
- The AWS IAM account ID of the service mesh owner.
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 .this
public CfnVirtualGatewayProps.Builder tags(java.util.List<? extends CfnTag> tags)
CfnVirtualGatewayProps.getTags()
tags
- Optional metadata that you can apply to the virtual gateway to assist with categorization and organization.
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.this
public CfnVirtualGatewayProps.Builder virtualGatewayName(java.lang.String virtualGatewayName)
CfnVirtualGatewayProps.getVirtualGatewayName()
virtualGatewayName
- The name of the virtual gateway.this
public CfnVirtualGatewayProps build()
CfnVirtualGatewayProps
java.lang.NullPointerException
- if any required attribute was not provided