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.Buildermetadata(Consumer<ResourceMetadata.Builder> metadata) The associated metadata for the virtual node.metadata(ResourceMetadata metadata) The associated metadata for the virtual node.default VirtualNodeData.Builderspec(Consumer<VirtualNodeSpec.Builder> spec) The specifications of the virtual node.spec(VirtualNodeSpec spec) The specifications of the virtual node.default VirtualNodeData.Builderstatus(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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.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:
-
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.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:
-
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.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:
-
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.
-