public static interface VirtualNodeData.Builder extends SdkPojo, CopyableBuilder<VirtualNodeData.Builder,VirtualNodeData>
Modifier and Type | Method and Description |
---|---|
VirtualNodeData.Builder |
meshName(String meshName)
The name of the service mesh in which the virtual node resides.
|
default VirtualNodeData.Builder |
metadata(Consumer<ResourceMetadata.Builder> metadata)
The associated metadata for the virtual node.
|
VirtualNodeData.Builder |
metadata(ResourceMetadata metadata)
The associated metadata for the virtual node.
|
default VirtualNodeData.Builder |
spec(Consumer<VirtualNodeSpec.Builder> spec)
The specifications of the virtual node.
|
VirtualNodeData.Builder |
spec(VirtualNodeSpec spec)
The specifications of the virtual node.
|
default VirtualNodeData.Builder |
status(Consumer<VirtualNodeStatus.Builder> status)
The current status for the virtual node.
|
VirtualNodeData.Builder |
status(VirtualNodeStatus status)
The current status for the virtual node.
|
VirtualNodeData.Builder |
virtualNodeName(String virtualNodeName)
The name of the virtual node.
|
copy
applyMutation, build
VirtualNodeData.Builder meshName(String meshName)
The name of the service mesh in which the virtual node resides.
meshName
- The name of the service mesh in which the virtual node resides.VirtualNodeData.Builder metadata(ResourceMetadata metadata)
The associated metadata for the virtual node.
metadata
- The associated metadata for the virtual node.default VirtualNodeData.Builder metadata(Consumer<ResourceMetadata.Builder> metadata)
The associated metadata for the virtual node.
This is a convenience that creates an instance of theResourceMetadata.Builder
avoiding the need to
create one manually via ResourceMetadata.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to metadata(ResourceMetadata)
.metadata
- a consumer that will call methods on ResourceMetadata.Builder
metadata(ResourceMetadata)
VirtualNodeData.Builder spec(VirtualNodeSpec spec)
The specifications of the virtual node.
spec
- The specifications of the virtual node.default VirtualNodeData.Builder spec(Consumer<VirtualNodeSpec.Builder> spec)
The specifications of the virtual node.
This is a convenience that creates an instance of theVirtualNodeSpec.Builder
avoiding the need to
create one manually via VirtualNodeSpec.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to spec(VirtualNodeSpec)
.spec
- a consumer that will call methods on VirtualNodeSpec.Builder
spec(VirtualNodeSpec)
VirtualNodeData.Builder status(VirtualNodeStatus status)
The current status for the virtual node.
status
- The current status for the virtual node.default VirtualNodeData.Builder status(Consumer<VirtualNodeStatus.Builder> status)
The current status for the virtual node.
This is a convenience that creates an instance of theVirtualNodeStatus.Builder
avoiding the need to
create one manually via VirtualNodeStatus.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to status(VirtualNodeStatus)
.status
- a consumer that will call methods on VirtualNodeStatus.Builder
status(VirtualNodeStatus)
VirtualNodeData.Builder virtualNodeName(String virtualNodeName)
The name of the virtual node.
virtualNodeName
- The name of the virtual node.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.