Interface Node.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Node.Builder,
,Node> SdkBuilder<Node.Builder,
,Node> SdkPojo
- Enclosing class:
Node
@Mutable
@NotThreadSafe
public static interface Node.Builder
extends SdkPojo, CopyableBuilder<Node.Builder,Node>
-
Method Summary
Modifier and TypeMethodDescriptioncaptureTime
(Instant captureTime) The UTC timestamp for when the managed node data was last captured.The ID of the managed node.default Node.Builder
nodeType
(Consumer<NodeType.Builder> nodeType) Information about the type of node.Information about the type of node.default Node.Builder
owner
(Consumer<NodeOwnerInfo.Builder> owner) Information about the ownership of the managed node.owner
(NodeOwnerInfo owner) Information about the ownership of the managed node.The Amazon Web Services Region that a managed node was created in or assigned to.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, sdkFieldNameToField, sdkFields
-
Method Details
-
captureTime
The UTC timestamp for when the managed node data was last captured.
- Parameters:
captureTime
- The UTC timestamp for when the managed node data was last captured.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
id
The ID of the managed node.
- Parameters:
id
- The ID of the managed node.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
owner
Information about the ownership of the managed node.
- Parameters:
owner
- Information about the ownership of the managed node.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
owner
Information about the ownership of the managed node.
This is a convenience method that creates an instance of theNodeOwnerInfo.Builder
avoiding the need to create one manually viaNodeOwnerInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toowner(NodeOwnerInfo)
.- Parameters:
owner
- a consumer that will call methods onNodeOwnerInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
region
The Amazon Web Services Region that a managed node was created in or assigned to.
- Parameters:
region
- The Amazon Web Services Region that a managed node was created in or assigned to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nodeType
Information about the type of node.
- Parameters:
nodeType
- Information about the type of node.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nodeType
Information about the type of node.
This is a convenience method that creates an instance of theNodeType.Builder
avoiding the need to create one manually viaNodeType.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tonodeType(NodeType)
.- Parameters:
nodeType
- a consumer that will call methods onNodeType.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-