Interface CreateClusterRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateClusterRequest.Builder,,CreateClusterRequest> MediaLiveRequest.Builder,SdkBuilder<CreateClusterRequest.Builder,,CreateClusterRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateClusterRequest
public static interface CreateClusterRequest.Builder
extends MediaLiveRequest.Builder, SdkPojo, CopyableBuilder<CreateClusterRequest.Builder,CreateClusterRequest>
-
Method Summary
Modifier and TypeMethodDescriptionclusterType(String clusterType) Specify a type.clusterType(ClusterType clusterType) Specify a type.instanceRoleArn(String instanceRoleArn) The ARN of the IAM role for the Node in this Cluster.Specify a name that is unique in the AWS account.default CreateClusterRequest.BuildernetworkSettings(Consumer<ClusterNetworkSettingsCreateRequest.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(ClusterNetworkSettingsCreateRequest networkSettings) Network settings that connect the Nodes in the Cluster to one or more of the Networks that the Cluster is associated with.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The unique ID of the request.A collection of key-value pairs.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.medialive.model.MediaLiveRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
clusterType
Specify a type. All the Nodes that you later add to this Cluster must be this type of hardware. One Cluster instance can't contain different hardware types. You won't be able to change this parameter after you create the Cluster.- Parameters:
clusterType- Specify a type. All the Nodes that you later add to this Cluster must be this type of hardware. One Cluster instance can't contain different hardware types. You won't be able to change this parameter after you create the Cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clusterType
Specify a type. All the Nodes that you later add to this Cluster must be this type of hardware. One Cluster instance can't contain different hardware types. You won't be able to change this parameter after you create the Cluster.- Parameters:
clusterType- Specify a type. All the Nodes that you later add to this Cluster must be this type of hardware. One Cluster instance can't contain different hardware types. You won't be able to change this parameter after you create the Cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
instanceRoleArn
The ARN of the IAM role for the Node in this Cluster. The role must include all the operations that you expect these Node to perform. If necessary, create a role in IAM, then attach it here.- Parameters:
instanceRoleArn- The ARN of the IAM role for the Node in this Cluster. The role must include all the operations that you expect these Node to perform. If necessary, create a role in IAM, then attach it here.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
Specify a name that is unique in the AWS account. We recommend that you assign a name that hints at the types of Nodes in the Cluster. Names are case-sensitive.- Parameters:
name- Specify a name that is unique in the AWS account. We recommend that you assign a name that hints at the types of Nodes in the Cluster. Names are case-sensitive.- 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 CreateClusterRequest.Builder networkSettings(Consumer<ClusterNetworkSettingsCreateRequest.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 theClusterNetworkSettingsCreateRequest.Builderavoiding the need to create one manually viaClusterNetworkSettingsCreateRequest.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tonetworkSettings(ClusterNetworkSettingsCreateRequest).- Parameters:
networkSettings- a consumer that will call methods onClusterNetworkSettingsCreateRequest.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
requestId
The unique ID of the request.- Parameters:
requestId- The unique ID of the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
CreateClusterRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateClusterRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-