Interface VirtualNodeData.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<VirtualNodeData.Builder,
,VirtualNodeData> SdkBuilder<VirtualNodeData.Builder,
,VirtualNodeData> SdkPojo
- Enclosing class:
VirtualNodeData
public static interface VirtualNodeData.Builder
extends SdkPojo, CopyableBuilder<VirtualNodeData.Builder,VirtualNodeData>
-
Method Summary
Modifier and TypeMethodDescriptionThe name of the service mesh that the virtual node resides in.default VirtualNodeData.Builder
metadata
(Consumer<ResourceMetadata.Builder> metadata) The associated metadata for the virtual node.metadata
(ResourceMetadata metadata) The associated metadata for the virtual node.default VirtualNodeData.Builder
spec
(Consumer<VirtualNodeSpec.Builder> spec) The specifications of the virtual node.spec
(VirtualNodeSpec spec) The specifications of the virtual node.default VirtualNodeData.Builder
status
(Consumer<VirtualNodeStatus.Builder> status) The current status for the virtual node.status
(VirtualNodeStatus status) The current status for the virtual node.virtualNodeName
(String virtualNodeName) The name of the virtual node.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
meshName
The name of the service mesh that the virtual node resides in.
- Parameters:
meshName
- The name of the service mesh that the virtual node resides in.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metadata
The associated metadata for the virtual node.
- Parameters:
metadata
- The associated metadata for the virtual node.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metadata
The associated metadata for the virtual node.
This is a convenience method that creates an instance of theResourceMetadata.Builder
avoiding the need to create one manually viaResourceMetadata.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tometadata(ResourceMetadata)
.- Parameters:
metadata
- a consumer that will call methods onResourceMetadata.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
spec
The specifications of the virtual node.
- Parameters:
spec
- The specifications of the virtual node.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
spec
The specifications of the virtual node.
This is a convenience method that creates an instance of theVirtualNodeSpec.Builder
avoiding the need to create one manually viaVirtualNodeSpec.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tospec(VirtualNodeSpec)
.- Parameters:
spec
- a consumer that will call methods onVirtualNodeSpec.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The current status for the virtual node.
- Parameters:
status
- The current status for the virtual node.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The current status for the virtual node.
This is a convenience method that creates an instance of theVirtualNodeStatus.Builder
avoiding the need to create one manually viaVirtualNodeStatus.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostatus(VirtualNodeStatus)
.- Parameters:
status
- a consumer that will call methods onVirtualNodeStatus.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
virtualNodeName
The name of the virtual node.
- Parameters:
virtualNodeName
- The name of the virtual node.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-