Interface CreateClusterRequest.Builder

  • Method Details

    • 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

      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:
    • 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

      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

      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 the ClusterNetworkSettingsCreateRequest.Builder avoiding the need to create one manually via ClusterNetworkSettingsCreateRequest.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to networkSettings(ClusterNetworkSettingsCreateRequest).

      Parameters:
      networkSettings - a consumer that will call methods on ClusterNetworkSettingsCreateRequest.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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

      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.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.