public static final class CfnVirtualService.Builder
extends java.lang.Object
CfnVirtualService
.Modifier and Type | Method and Description |
---|---|
CfnVirtualService |
build() |
static CfnVirtualService.Builder |
create(Construct scope,
java.lang.String id) |
CfnVirtualService.Builder |
meshName(java.lang.String meshName)
The name of the service mesh to create the virtual service in.
|
CfnVirtualService.Builder |
meshOwner(java.lang.String meshOwner)
The AWS IAM account ID of the service mesh owner.
|
CfnVirtualService.Builder |
spec(CfnVirtualService.VirtualServiceSpecProperty spec)
The virtual service specification to apply.
|
CfnVirtualService.Builder |
spec(IResolvable spec)
The virtual service specification to apply.
|
CfnVirtualService.Builder |
tags(java.util.List<? extends CfnTag> tags)
Optional metadata that you can apply to the virtual service to assist with categorization and organization.
|
CfnVirtualService.Builder |
virtualServiceName(java.lang.String virtualServiceName)
The name to use for the virtual service.
|
public static CfnVirtualService.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.CfnVirtualService.VirtualNodeServiceProviderProperty.Builder
.public CfnVirtualService.Builder meshName(java.lang.String meshName)
meshName
- The name of the service mesh to create the virtual service in. This parameter is required.this
public CfnVirtualService.Builder spec(IResolvable spec)
spec
- The virtual service specification to apply. This parameter is required.this
public CfnVirtualService.Builder spec(CfnVirtualService.VirtualServiceSpecProperty spec)
spec
- The virtual service specification to apply. This parameter is required.this
public CfnVirtualService.Builder virtualServiceName(java.lang.String virtualServiceName)
virtualServiceName
- The name to use for the virtual service. This parameter is required.this
public CfnVirtualService.Builder meshOwner(java.lang.String meshOwner)
If the account ID is not your own, then the account that you specify must share the mesh with your account before you can create the resource in the service mesh. 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 CfnVirtualService.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 service to assist with categorization and organization. This parameter is required.this
public CfnVirtualService build()