Interface CreateClusterRequest.Builder

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