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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description VirtualNodeData.BuildermeshName(String meshName)The name of the service mesh that the virtual node resides in.default VirtualNodeData.Buildermetadata(Consumer<ResourceMetadata.Builder> metadata)The associated metadata for the virtual node.VirtualNodeData.Buildermetadata(ResourceMetadata metadata)The associated metadata for the virtual node.default VirtualNodeData.Builderspec(Consumer<VirtualNodeSpec.Builder> spec)The specifications of the virtual node.VirtualNodeData.Builderspec(VirtualNodeSpec spec)The specifications of the virtual node.default VirtualNodeData.Builderstatus(Consumer<VirtualNodeStatus.Builder> status)The current status for the virtual node.VirtualNodeData.Builderstatus(VirtualNodeStatus status)The current status for the virtual node.VirtualNodeData.BuildervirtualNodeName(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 Detail
-
meshName
VirtualNodeData.Builder meshName(String 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
VirtualNodeData.Builder metadata(ResourceMetadata 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
default VirtualNodeData.Builder metadata(Consumer<ResourceMetadata.Builder> metadata)
The associated metadata for the virtual node.
This is a convenience method that creates an instance of theResourceMetadata.Builderavoiding the need to create one manually viaResourceMetadata.builder().When the
Consumercompletes,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:
metadata(ResourceMetadata)
-
spec
VirtualNodeData.Builder spec(VirtualNodeSpec 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
default VirtualNodeData.Builder spec(Consumer<VirtualNodeSpec.Builder> spec)
The specifications of the virtual node.
This is a convenience method that creates an instance of theVirtualNodeSpec.Builderavoiding the need to create one manually viaVirtualNodeSpec.builder().When the
Consumercompletes,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:
spec(VirtualNodeSpec)
-
status
VirtualNodeData.Builder status(VirtualNodeStatus 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
default VirtualNodeData.Builder status(Consumer<VirtualNodeStatus.Builder> status)
The current status for the virtual node.
This is a convenience method that creates an instance of theVirtualNodeStatus.Builderavoiding the need to create one manually viaVirtualNodeStatus.builder().When the
Consumercompletes,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:
status(VirtualNodeStatus)
-
virtualNodeName
VirtualNodeData.Builder virtualNodeName(String 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.
-
-