Interface CreateNodeRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateNodeRequest.Builder,
,CreateNodeRequest> MediaLiveRequest.Builder
,SdkBuilder<CreateNodeRequest.Builder,
,CreateNodeRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateNodeRequest
@Mutable
@NotThreadSafe
public static interface CreateNodeRequest.Builder
extends MediaLiveRequest.Builder, SdkPojo, CopyableBuilder<CreateNodeRequest.Builder,CreateNodeRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe ID of the cluster.The user-specified name of the Node to be created.nodeInterfaceMappings
(Collection<NodeInterfaceMappingCreateRequest> nodeInterfaceMappings) Documentation update needednodeInterfaceMappings
(Consumer<NodeInterfaceMappingCreateRequest.Builder>... nodeInterfaceMappings) Documentation update needed This is a convenience method that creates an instance of theNodeInterfaceMappingCreateRequest.Builder
avoiding the need to create one manually viaNodeInterfaceMappingCreateRequest.builder()
.nodeInterfaceMappings
(NodeInterfaceMappingCreateRequest... nodeInterfaceMappings) Documentation update neededoverrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.An ID that you assign to a create request.The initial role of the Node in the Cluster.The initial role of the Node in the Cluster.A collection of key-value pairs.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.medialive.model.MediaLiveRequest.Builder
build
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
-
clusterId
The ID of the cluster.- Parameters:
clusterId
- The ID of the cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The user-specified name of the Node to be created.- Parameters:
name
- The user-specified name of the Node to be created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nodeInterfaceMappings
CreateNodeRequest.Builder nodeInterfaceMappings(Collection<NodeInterfaceMappingCreateRequest> nodeInterfaceMappings) Documentation update needed- Parameters:
nodeInterfaceMappings
- Documentation update needed- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nodeInterfaceMappings
CreateNodeRequest.Builder nodeInterfaceMappings(NodeInterfaceMappingCreateRequest... nodeInterfaceMappings) Documentation update needed- Parameters:
nodeInterfaceMappings
- Documentation update needed- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nodeInterfaceMappings
CreateNodeRequest.Builder nodeInterfaceMappings(Consumer<NodeInterfaceMappingCreateRequest.Builder>... nodeInterfaceMappings) Documentation update needed This is a convenience method that creates an instance of theNodeInterfaceMappingCreateRequest.Builder
avoiding the need to create one manually viaNodeInterfaceMappingCreateRequest.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tonodeInterfaceMappings(List<NodeInterfaceMappingCreateRequest>)
.- Parameters:
nodeInterfaceMappings
- a consumer that will call methods onNodeInterfaceMappingCreateRequest.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
requestId
An ID that you assign to a create request. This ID ensures idempotency when creating resources.- Parameters:
requestId
- An ID that you assign to a create request. This ID ensures idempotency when creating resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
role
The initial role of the Node in the Cluster. ACTIVE means the Node is available for encoding. BACKUP means the Node is a redundant Node and might get used if an ACTIVE Node fails.- Parameters:
role
- The initial role of the Node in the Cluster. ACTIVE means the Node is available for encoding. BACKUP means the Node is a redundant Node and might get used if an ACTIVE Node fails.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
role
The initial role of the Node in the Cluster. ACTIVE means the Node is available for encoding. BACKUP means the Node is a redundant Node and might get used if an ACTIVE Node fails.- Parameters:
role
- The initial role of the Node in the Cluster. ACTIVE means the Node is available for encoding. BACKUP means the Node is a redundant Node and might get used if an ACTIVE Node fails.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
A collection of key-value pairs.- Parameters:
tags
- A collection of key-value pairs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateNodeRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateNodeRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-