Interface UpdateNodeStateResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<UpdateNodeStateResponse.Builder,UpdateNodeStateResponse>,MediaLiveResponse.Builder,SdkBuilder<UpdateNodeStateResponse.Builder,UpdateNodeStateResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- UpdateNodeStateResponse
public static interface UpdateNodeStateResponse.Builder extends MediaLiveResponse.Builder, SdkPojo, CopyableBuilder<UpdateNodeStateResponse.Builder,UpdateNodeStateResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UpdateNodeStateResponse.Builderarn(String arn)The ARN of the Node.UpdateNodeStateResponse.BuilderchannelPlacementGroups(String... channelPlacementGroups)An array of IDs.UpdateNodeStateResponse.BuilderchannelPlacementGroups(Collection<String> channelPlacementGroups)An array of IDs.UpdateNodeStateResponse.BuilderclusterId(String clusterId)The ID of the Cluster that the Node belongs to.UpdateNodeStateResponse.BuilderconnectionState(String connectionState)The current connection state of the Node.UpdateNodeStateResponse.BuilderconnectionState(NodeConnectionState connectionState)The current connection state of the Node.UpdateNodeStateResponse.Builderid(String id)The unique ID of the Node.UpdateNodeStateResponse.BuilderinstanceArn(String instanceArn)The ARN of the EC2 instance hosting the Node.UpdateNodeStateResponse.Buildername(String name)The name that you specified for the Node.UpdateNodeStateResponse.BuildernodeInterfaceMappings(Collection<NodeInterfaceMapping> nodeInterfaceMappings)Documentation update neededUpdateNodeStateResponse.BuildernodeInterfaceMappings(Consumer<NodeInterfaceMapping.Builder>... nodeInterfaceMappings)Documentation update needed This is a convenience method that creates an instance of theNodeInterfaceMapping.Builderavoiding the need to create one manually viaNodeInterfaceMapping.builder().UpdateNodeStateResponse.BuildernodeInterfaceMappings(NodeInterfaceMapping... nodeInterfaceMappings)Documentation update neededUpdateNodeStateResponse.Builderrole(String role)The initial role current role of the Node in the Cluster.UpdateNodeStateResponse.Builderrole(NodeRole role)The initial role current role of the Node in the Cluster.UpdateNodeStateResponse.Builderstate(String state)The current state of the Node.UpdateNodeStateResponse.Builderstate(NodeState state)The current state of the Node.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.medialive.model.MediaLiveResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
arn
UpdateNodeStateResponse.Builder arn(String arn)
The ARN of the Node. It is automatically assigned when the Node is created.- Parameters:
arn- The ARN of the Node. It is automatically assigned when the Node is created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channelPlacementGroups
UpdateNodeStateResponse.Builder channelPlacementGroups(Collection<String> channelPlacementGroups)
An array of IDs. Each ID is one ChannelPlacementGroup that is associated with this Node. Empty if the Node is not yet associated with any groups.- Parameters:
channelPlacementGroups- An array of IDs. Each ID is one ChannelPlacementGroup that is associated with this Node. Empty if the Node is not yet associated with any groups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channelPlacementGroups
UpdateNodeStateResponse.Builder channelPlacementGroups(String... channelPlacementGroups)
An array of IDs. Each ID is one ChannelPlacementGroup that is associated with this Node. Empty if the Node is not yet associated with any groups.- Parameters:
channelPlacementGroups- An array of IDs. Each ID is one ChannelPlacementGroup that is associated with this Node. Empty if the Node is not yet associated with any groups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clusterId
UpdateNodeStateResponse.Builder clusterId(String clusterId)
The ID of the Cluster that the Node belongs to.- Parameters:
clusterId- The ID of the Cluster that the Node belongs to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connectionState
UpdateNodeStateResponse.Builder connectionState(String connectionState)
The current connection state of the Node.- Parameters:
connectionState- The current connection state of the Node.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
NodeConnectionState,NodeConnectionState
-
connectionState
UpdateNodeStateResponse.Builder connectionState(NodeConnectionState connectionState)
The current connection state of the Node.- Parameters:
connectionState- The current connection state of the Node.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
NodeConnectionState,NodeConnectionState
-
id
UpdateNodeStateResponse.Builder id(String id)
The unique ID of the Node. Unique in the Cluster. The ID is the resource-id portion of the ARN.- Parameters:
id- The unique ID of the Node. Unique in the Cluster. The ID is the resource-id portion of the ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceArn
UpdateNodeStateResponse.Builder instanceArn(String instanceArn)
The ARN of the EC2 instance hosting the Node.- Parameters:
instanceArn- The ARN of the EC2 instance hosting the Node.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
UpdateNodeStateResponse.Builder name(String name)
The name that you specified for the Node.- Parameters:
name- The name that you specified for the Node.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nodeInterfaceMappings
UpdateNodeStateResponse.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
UpdateNodeStateResponse.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
UpdateNodeStateResponse.Builder nodeInterfaceMappings(Consumer<NodeInterfaceMapping.Builder>... nodeInterfaceMappings)
Documentation update needed This is a convenience method that creates an instance of theNodeInterfaceMapping.Builderavoiding the need to create one manually viaNodeInterfaceMapping.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#nodeInterfaceMappings(List.) - 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:
#nodeInterfaceMappings(java.util.Collection)
-
role
UpdateNodeStateResponse.Builder role(String role)
The initial role current 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 current 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:
NodeRole,NodeRole
-
role
UpdateNodeStateResponse.Builder role(NodeRole role)
The initial role current 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 current 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:
NodeRole,NodeRole
-
state
UpdateNodeStateResponse.Builder state(String state)
The current state of the Node.
-
state
UpdateNodeStateResponse.Builder state(NodeState state)
The current state of the Node.
-
-