Interface Node.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<Node.Builder,Node>
,SdkBuilder<Node.Builder,Node>
,SdkPojo
- Enclosing class:
- Node
public static interface Node.Builder extends SdkPojo, CopyableBuilder<Node.Builder,Node>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Node.Builder
captureTime(Instant captureTime)
The UTC timestamp for when the managed node data was last captured.Node.Builder
id(String id)
The ID of the managed node.default Node.Builder
nodeType(Consumer<NodeType.Builder> nodeType)
Information about the type of node.Node.Builder
nodeType(NodeType nodeType)
Information about the type of node.default Node.Builder
owner(Consumer<NodeOwnerInfo.Builder> owner)
Information about the ownership of the managed node.Node.Builder
owner(NodeOwnerInfo owner)
Information about the ownership of the managed node.Node.Builder
region(String region)
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 Detail
-
captureTime
Node.Builder captureTime(Instant 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
Node.Builder id(String 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
Node.Builder owner(NodeOwnerInfo 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
default Node.Builder owner(Consumer<NodeOwnerInfo.Builder> 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:
owner(NodeOwnerInfo)
-
region
Node.Builder region(String 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
Node.Builder nodeType(NodeType 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
default Node.Builder nodeType(Consumer<NodeType.Builder> 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:
nodeType(NodeType)
-
-