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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateClusterRequest.BuilderclusterType(String clusterType)Specify a type.CreateClusterRequest.BuilderclusterType(ClusterType clusterType)Specify a type.CreateClusterRequest.BuilderinstanceRoleArn(String instanceRoleArn)The ARN of the IAM role for the Node in this Cluster.CreateClusterRequest.Buildername(String name)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.CreateClusterRequest.BuildernetworkSettings(ClusterNetworkSettingsCreateRequest networkSettings)Network settings that connect the Nodes in the Cluster to one or more of the Networks that the Cluster is associated with.CreateClusterRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateClusterRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateClusterRequest.BuilderrequestId(String requestId)The unique ID of the request.CreateClusterRequest.Buildertags(Map<String,String> tags)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 Detail
-
clusterType
CreateClusterRequest.Builder clusterType(String 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,ClusterType
-
clusterType
CreateClusterRequest.Builder clusterType(ClusterType 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,ClusterType
-
instanceRoleArn
CreateClusterRequest.Builder instanceRoleArn(String 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
CreateClusterRequest.Builder name(String 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
CreateClusterRequest.Builder 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.- 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:
networkSettings(ClusterNetworkSettingsCreateRequest)
-
requestId
CreateClusterRequest.Builder requestId(String 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
CreateClusterRequest.Builder tags(Map<String,String> 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateClusterRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-