Interface CreateClusterResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CreateClusterResponse.Builder,
,CreateClusterResponse> MediaLiveResponse.Builder
,SdkBuilder<CreateClusterResponse.Builder,
,CreateClusterResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
CreateClusterResponse
@Mutable
@NotThreadSafe
public static interface CreateClusterResponse.Builder
extends MediaLiveResponse.Builder, SdkPojo, CopyableBuilder<CreateClusterResponse.Builder,CreateClusterResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe ARN of this Cluster.channelIds
(String... channelIds) Sets the value of the ChannelIds property for this object.channelIds
(Collection<String> channelIds) Sets the value of the ChannelIds property for this object.clusterType
(String clusterType) The hardware type for the ClusterclusterType
(ClusterType clusterType) The hardware type for the ClusterThe ID of the Cluster.instanceRoleArn
(String instanceRoleArn) The ARN of the IAM role for the Node in this Cluster.The name that you specified for the Cluster.default CreateClusterResponse.Builder
networkSettings
(Consumer<ClusterNetworkSettings.Builder> networkSettings) Network settings that connect the Nodes in the Cluster to one or more of the Networks that the Cluster is associated with.networkSettings
(ClusterNetworkSettings networkSettings) Network settings that connect the Nodes in the Cluster to one or more of the Networks that the Cluster is associated with.The current state of the Cluster.state
(ClusterState state) The current state of the Cluster.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 Details
-
arn
The ARN of this Cluster. It is automatically assigned when the Cluster is created.- Parameters:
arn
- The ARN of this Cluster. It is automatically assigned when the Cluster is created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channelIds
Sets the value of the ChannelIds property for this object.- Parameters:
channelIds
- The new value for the ChannelIds property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channelIds
Sets the value of the ChannelIds property for this object.- Parameters:
channelIds
- The new value for the ChannelIds property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clusterType
The hardware type for the Cluster- Parameters:
clusterType
- The hardware type for the Cluster- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clusterType
The hardware type for the Cluster- Parameters:
clusterType
- The hardware type for the Cluster- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
id
The ID of the Cluster. Unique in the AWS account. The ID is the resource-id portion of the ARN.- Parameters:
id
- The ID of the Cluster. Unique in the AWS account. 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.
-
instanceRoleArn
The ARN of the IAM role for the Node in this Cluster. Any Nodes that are associated with this Cluster assume this role. The role gives permissions to the operations that you expect these Node to perform.- Parameters:
instanceRoleArn
- The ARN of the IAM role for the Node in this Cluster. Any Nodes that are associated with this Cluster assume this role. The role gives permissions to the operations that you expect these Node to perform.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name that you specified for the Cluster.- Parameters:
name
- The name that you specified for the Cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkSettings
Network settings that connect the Nodes in the Cluster to one or more of the Networks that the Cluster is associated with.- Parameters:
networkSettings
- Network settings that connect the Nodes in the Cluster to one or more of the Networks that the Cluster is associated with.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkSettings
default CreateClusterResponse.Builder networkSettings(Consumer<ClusterNetworkSettings.Builder> networkSettings) Network settings that connect the Nodes in the Cluster to one or more of the Networks that the Cluster is associated with. This is a convenience method that creates an instance of theClusterNetworkSettings.Builder
avoiding the need to create one manually viaClusterNetworkSettings.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tonetworkSettings(ClusterNetworkSettings)
.- Parameters:
networkSettings
- a consumer that will call methods onClusterNetworkSettings.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
state
The current state of the Cluster.- Parameters:
state
- The current state of the Cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
state
The current state of the Cluster.- Parameters:
state
- The current state of the Cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-