Interface CreateNodeRegistrationScriptRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateNodeRegistrationScriptRequest.Builder,
,CreateNodeRegistrationScriptRequest> MediaLiveRequest.Builder
,SdkBuilder<CreateNodeRegistrationScriptRequest.Builder,
,CreateNodeRegistrationScriptRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateNodeRegistrationScriptRequest
public static interface CreateNodeRegistrationScriptRequest.Builder
extends MediaLiveRequest.Builder, SdkPojo, CopyableBuilder<CreateNodeRegistrationScriptRequest.Builder,CreateNodeRegistrationScriptRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe ID of the clusterIf you're generating a re-registration script for an already existing node, this is where you provide the id.Specify a pattern for MediaLive Anywhere to use to assign a name to each Node in the Cluster.nodeInterfaceMappings
(Collection<NodeInterfaceMapping> nodeInterfaceMappings) Documentation update needednodeInterfaceMappings
(Consumer<NodeInterfaceMapping.Builder>... nodeInterfaceMappings) Documentation update needed This is a convenience method that creates an instance of theNodeInterfaceMapping.Builder
avoiding the need to create one manually viaNodeInterfaceMapping.builder()
.nodeInterfaceMappings
(NodeInterfaceMapping... 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.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, 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.
-
id
If you're generating a re-registration script for an already existing node, this is where you provide the id.- Parameters:
id
- If you're generating a re-registration script for an already existing node, this is where you provide the id.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
Specify a pattern for MediaLive Anywhere to use to assign a name to each Node in the Cluster. The pattern can include the variables $hn (hostname of the node hardware) and $ts for the date and time that the Node is created, in UTC (for example, 2024-08-20T23:35:12Z).- Parameters:
name
- Specify a pattern for MediaLive Anywhere to use to assign a name to each Node in the Cluster. The pattern can include the variables $hn (hostname of the node hardware) and $ts for the date and time that the Node is created, in UTC (for example, 2024-08-20T23:35:12Z).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nodeInterfaceMappings
CreateNodeRegistrationScriptRequest.Builder nodeInterfaceMappings(Collection<NodeInterfaceMapping> 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
CreateNodeRegistrationScriptRequest.Builder nodeInterfaceMappings(NodeInterfaceMapping... 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
CreateNodeRegistrationScriptRequest.Builder nodeInterfaceMappings(Consumer<NodeInterfaceMapping.Builder>... nodeInterfaceMappings) Documentation update needed This is a convenience method that creates an instance of theNodeInterfaceMapping.Builder
avoiding the need to create one manually viaNodeInterfaceMapping.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tonodeInterfaceMappings(List<NodeInterfaceMapping>)
.- Parameters:
nodeInterfaceMappings
- a consumer that will call methods onNodeInterfaceMapping.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:
-
overrideConfiguration
CreateNodeRegistrationScriptRequest.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
CreateNodeRegistrationScriptRequest.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.
-