JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.793

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.elasticmapreduce.model

Class Cluster

    • Constructor Detail

      • Cluster

        public Cluster()
    • Method Detail

      • setId

        public void setId(String id)

        The unique identifier for the cluster.

        Parameters:
        id - The unique identifier for the cluster.
      • getId

        public String getId()

        The unique identifier for the cluster.

        Returns:
        The unique identifier for the cluster.
      • withId

        public Cluster withId(String id)

        The unique identifier for the cluster.

        Parameters:
        id - The unique identifier for the cluster.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setName

        public void setName(String name)

        The name of the cluster. This parameter can't contain the characters <, >, ,ドル |, or ` (backtick).

        Parameters:
        name - The name of the cluster. This parameter can't contain the characters <, >, ,ドル |, or ` (backtick).
      • getName

        public String getName()

        The name of the cluster. This parameter can't contain the characters <, >, ,ドル |, or ` (backtick).

        Returns:
        The name of the cluster. This parameter can't contain the characters <, >, ,ドル |, or ` (backtick).
      • withName

        public Cluster withName(String name)

        The name of the cluster. This parameter can't contain the characters <, >, ,ドル |, or ` (backtick).

        Parameters:
        name - The name of the cluster. This parameter can't contain the characters <, >, ,ドル |, or ` (backtick).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setStatus

        public void setStatus(ClusterStatus status)

        The current status details about the cluster.

        Parameters:
        status - The current status details about the cluster.
      • getStatus

        public ClusterStatus getStatus()

        The current status details about the cluster.

        Returns:
        The current status details about the cluster.
      • withStatus

        public Cluster withStatus(ClusterStatus status)

        The current status details about the cluster.

        Parameters:
        status - The current status details about the cluster.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setEc2InstanceAttributes

        public void setEc2InstanceAttributes(Ec2InstanceAttributes ec2InstanceAttributes)

        Provides information about the Amazon EC2 instances in a cluster grouped by category. For example, key name, subnet ID, IAM instance profile, and so on.

        Parameters:
        ec2InstanceAttributes - Provides information about the Amazon EC2 instances in a cluster grouped by category. For example, key name, subnet ID, IAM instance profile, and so on.
      • getEc2InstanceAttributes

        public Ec2InstanceAttributes getEc2InstanceAttributes()

        Provides information about the Amazon EC2 instances in a cluster grouped by category. For example, key name, subnet ID, IAM instance profile, and so on.

        Returns:
        Provides information about the Amazon EC2 instances in a cluster grouped by category. For example, key name, subnet ID, IAM instance profile, and so on.
      • withEc2InstanceAttributes

        public Cluster withEc2InstanceAttributes(Ec2InstanceAttributes ec2InstanceAttributes)

        Provides information about the Amazon EC2 instances in a cluster grouped by category. For example, key name, subnet ID, IAM instance profile, and so on.

        Parameters:
        ec2InstanceAttributes - Provides information about the Amazon EC2 instances in a cluster grouped by category. For example, key name, subnet ID, IAM instance profile, and so on.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setInstanceCollectionType

        public void setInstanceCollectionType(String instanceCollectionType)

        The instance fleet configuration is available only in Amazon EMR releases 4.8.0 and later, excluding 5.0.x versions.

        The instance group configuration of the cluster. A value of INSTANCE_GROUP indicates a uniform instance group configuration. A value of INSTANCE_FLEET indicates an instance fleets configuration.

        Parameters:
        instanceCollectionType -

        The instance fleet configuration is available only in Amazon EMR releases 4.8.0 and later, excluding 5.0.x versions.

        The instance group configuration of the cluster. A value of INSTANCE_GROUP indicates a uniform instance group configuration. A value of INSTANCE_FLEET indicates an instance fleets configuration.

        See Also:
        InstanceCollectionType
      • getInstanceCollectionType

        public String getInstanceCollectionType()

        The instance fleet configuration is available only in Amazon EMR releases 4.8.0 and later, excluding 5.0.x versions.

        The instance group configuration of the cluster. A value of INSTANCE_GROUP indicates a uniform instance group configuration. A value of INSTANCE_FLEET indicates an instance fleets configuration.

        Returns:

        The instance fleet configuration is available only in Amazon EMR releases 4.8.0 and later, excluding 5.0.x versions.

        The instance group configuration of the cluster. A value of INSTANCE_GROUP indicates a uniform instance group configuration. A value of INSTANCE_FLEET indicates an instance fleets configuration.

        See Also:
        InstanceCollectionType
      • withInstanceCollectionType

        public Cluster withInstanceCollectionType(String instanceCollectionType)

        The instance fleet configuration is available only in Amazon EMR releases 4.8.0 and later, excluding 5.0.x versions.

        The instance group configuration of the cluster. A value of INSTANCE_GROUP indicates a uniform instance group configuration. A value of INSTANCE_FLEET indicates an instance fleets configuration.

        Parameters:
        instanceCollectionType -

        The instance fleet configuration is available only in Amazon EMR releases 4.8.0 and later, excluding 5.0.x versions.

        The instance group configuration of the cluster. A value of INSTANCE_GROUP indicates a uniform instance group configuration. A value of INSTANCE_FLEET indicates an instance fleets configuration.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        InstanceCollectionType
      • setInstanceCollectionType

        public void setInstanceCollectionType(InstanceCollectionType instanceCollectionType)

        The instance fleet configuration is available only in Amazon EMR releases 4.8.0 and later, excluding 5.0.x versions.

        The instance group configuration of the cluster. A value of INSTANCE_GROUP indicates a uniform instance group configuration. A value of INSTANCE_FLEET indicates an instance fleets configuration.

        Parameters:
        instanceCollectionType -

        The instance fleet configuration is available only in Amazon EMR releases 4.8.0 and later, excluding 5.0.x versions.

        The instance group configuration of the cluster. A value of INSTANCE_GROUP indicates a uniform instance group configuration. A value of INSTANCE_FLEET indicates an instance fleets configuration.

        See Also:
        InstanceCollectionType
      • withInstanceCollectionType

        public Cluster withInstanceCollectionType(InstanceCollectionType instanceCollectionType)

        The instance fleet configuration is available only in Amazon EMR releases 4.8.0 and later, excluding 5.0.x versions.

        The instance group configuration of the cluster. A value of INSTANCE_GROUP indicates a uniform instance group configuration. A value of INSTANCE_FLEET indicates an instance fleets configuration.

        Parameters:
        instanceCollectionType -

        The instance fleet configuration is available only in Amazon EMR releases 4.8.0 and later, excluding 5.0.x versions.

        The instance group configuration of the cluster. A value of INSTANCE_GROUP indicates a uniform instance group configuration. A value of INSTANCE_FLEET indicates an instance fleets configuration.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        InstanceCollectionType
      • setLogUri

        public void setLogUri(String logUri)

        The path to the Amazon S3 location where logs for this cluster are stored.

        Parameters:
        logUri - The path to the Amazon S3 location where logs for this cluster are stored.
      • getLogUri

        public String getLogUri()

        The path to the Amazon S3 location where logs for this cluster are stored.

        Returns:
        The path to the Amazon S3 location where logs for this cluster are stored.
      • withLogUri

        public Cluster withLogUri(String logUri)

        The path to the Amazon S3 location where logs for this cluster are stored.

        Parameters:
        logUri - The path to the Amazon S3 location where logs for this cluster are stored.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setLogEncryptionKmsKeyId

        public void setLogEncryptionKmsKeyId(String logEncryptionKmsKeyId)

        The KMS key used for encrypting log files. This attribute is only available with Amazon EMR 5.30.0 and later, excluding Amazon EMR 6.0.0.

        Parameters:
        logEncryptionKmsKeyId - The KMS key used for encrypting log files. This attribute is only available with Amazon EMR 5.30.0 and later, excluding Amazon EMR 6.0.0.
      • getLogEncryptionKmsKeyId

        public String getLogEncryptionKmsKeyId()

        The KMS key used for encrypting log files. This attribute is only available with Amazon EMR 5.30.0 and later, excluding Amazon EMR 6.0.0.

        Returns:
        The KMS key used for encrypting log files. This attribute is only available with Amazon EMR 5.30.0 and later, excluding Amazon EMR 6.0.0.
      • withLogEncryptionKmsKeyId

        public Cluster withLogEncryptionKmsKeyId(String logEncryptionKmsKeyId)

        The KMS key used for encrypting log files. This attribute is only available with Amazon EMR 5.30.0 and later, excluding Amazon EMR 6.0.0.

        Parameters:
        logEncryptionKmsKeyId - The KMS key used for encrypting log files. This attribute is only available with Amazon EMR 5.30.0 and later, excluding Amazon EMR 6.0.0.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setRequestedAmiVersion

        public void setRequestedAmiVersion(String requestedAmiVersion)

        The AMI version requested for this cluster.

        Parameters:
        requestedAmiVersion - The AMI version requested for this cluster.
      • getRequestedAmiVersion

        public String getRequestedAmiVersion()

        The AMI version requested for this cluster.

        Returns:
        The AMI version requested for this cluster.
      • withRequestedAmiVersion

        public Cluster withRequestedAmiVersion(String requestedAmiVersion)

        The AMI version requested for this cluster.

        Parameters:
        requestedAmiVersion - The AMI version requested for this cluster.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setRunningAmiVersion

        public void setRunningAmiVersion(String runningAmiVersion)

        The AMI version running on this cluster.

        Parameters:
        runningAmiVersion - The AMI version running on this cluster.
      • getRunningAmiVersion

        public String getRunningAmiVersion()

        The AMI version running on this cluster.

        Returns:
        The AMI version running on this cluster.
      • withRunningAmiVersion

        public Cluster withRunningAmiVersion(String runningAmiVersion)

        The AMI version running on this cluster.

        Parameters:
        runningAmiVersion - The AMI version running on this cluster.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setReleaseLabel

        public void setReleaseLabel(String releaseLabel)

        The Amazon EMR release label, which determines the version of open-source application packages installed on the cluster. Release labels are in the form emr-x.x.x, where x.x.x is an Amazon EMR release version such as emr-5.14.0. For more information about Amazon EMR release versions and included application versions and features, see https://docs.aws.amazon. com/emr/latest/ReleaseGuide/. The release label applies only to Amazon EMR releases version 4.0 and later. Earlier versions use AmiVersion.

        Parameters:
        releaseLabel - The Amazon EMR release label, which determines the version of open-source application packages installed on the cluster. Release labels are in the form emr-x.x.x, where x.x.x is an Amazon EMR release version such as emr-5.14.0. For more information about Amazon EMR release versions and included application versions and features, see https://docs.aws.amazon.com/emr/latest/ReleaseGuide/. The release label applies only to Amazon EMR releases version 4.0 and later. Earlier versions use AmiVersion.
      • getReleaseLabel

        public String getReleaseLabel()

        The Amazon EMR release label, which determines the version of open-source application packages installed on the cluster. Release labels are in the form emr-x.x.x, where x.x.x is an Amazon EMR release version such as emr-5.14.0. For more information about Amazon EMR release versions and included application versions and features, see https://docs.aws.amazon. com/emr/latest/ReleaseGuide/. The release label applies only to Amazon EMR releases version 4.0 and later. Earlier versions use AmiVersion.

        Returns:
        The Amazon EMR release label, which determines the version of open-source application packages installed on the cluster. Release labels are in the form emr-x.x.x, where x.x.x is an Amazon EMR release version such as emr-5.14.0. For more information about Amazon EMR release versions and included application versions and features, see https://docs.aws.amazon.com/emr/latest/ReleaseGuide/. The release label applies only to Amazon EMR releases version 4.0 and later. Earlier versions use AmiVersion.
      • withReleaseLabel

        public Cluster withReleaseLabel(String releaseLabel)

        The Amazon EMR release label, which determines the version of open-source application packages installed on the cluster. Release labels are in the form emr-x.x.x, where x.x.x is an Amazon EMR release version such as emr-5.14.0. For more information about Amazon EMR release versions and included application versions and features, see https://docs.aws.amazon. com/emr/latest/ReleaseGuide/. The release label applies only to Amazon EMR releases version 4.0 and later. Earlier versions use AmiVersion.

        Parameters:
        releaseLabel - The Amazon EMR release label, which determines the version of open-source application packages installed on the cluster. Release labels are in the form emr-x.x.x, where x.x.x is an Amazon EMR release version such as emr-5.14.0. For more information about Amazon EMR release versions and included application versions and features, see https://docs.aws.amazon.com/emr/latest/ReleaseGuide/. The release label applies only to Amazon EMR releases version 4.0 and later. Earlier versions use AmiVersion.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setAutoTerminate

        public void setAutoTerminate(Boolean autoTerminate)

        Specifies whether the cluster should terminate after completing all steps.

        Parameters:
        autoTerminate - Specifies whether the cluster should terminate after completing all steps.
      • getAutoTerminate

        public Boolean getAutoTerminate()

        Specifies whether the cluster should terminate after completing all steps.

        Returns:
        Specifies whether the cluster should terminate after completing all steps.
      • withAutoTerminate

        public Cluster withAutoTerminate(Boolean autoTerminate)

        Specifies whether the cluster should terminate after completing all steps.

        Parameters:
        autoTerminate - Specifies whether the cluster should terminate after completing all steps.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • isAutoTerminate

        public Boolean isAutoTerminate()

        Specifies whether the cluster should terminate after completing all steps.

        Returns:
        Specifies whether the cluster should terminate after completing all steps.
      • setTerminationProtected

        public void setTerminationProtected(Boolean terminationProtected)

        Indicates whether Amazon EMR will lock the cluster to prevent the Amazon EC2 instances from being terminated by an API call or user intervention, or in the event of a cluster error.

        Parameters:
        terminationProtected - Indicates whether Amazon EMR will lock the cluster to prevent the Amazon EC2 instances from being terminated by an API call or user intervention, or in the event of a cluster error.
      • getTerminationProtected

        public Boolean getTerminationProtected()

        Indicates whether Amazon EMR will lock the cluster to prevent the Amazon EC2 instances from being terminated by an API call or user intervention, or in the event of a cluster error.

        Returns:
        Indicates whether Amazon EMR will lock the cluster to prevent the Amazon EC2 instances from being terminated by an API call or user intervention, or in the event of a cluster error.
      • withTerminationProtected

        public Cluster withTerminationProtected(Boolean terminationProtected)

        Indicates whether Amazon EMR will lock the cluster to prevent the Amazon EC2 instances from being terminated by an API call or user intervention, or in the event of a cluster error.

        Parameters:
        terminationProtected - Indicates whether Amazon EMR will lock the cluster to prevent the Amazon EC2 instances from being terminated by an API call or user intervention, or in the event of a cluster error.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • isTerminationProtected

        public Boolean isTerminationProtected()

        Indicates whether Amazon EMR will lock the cluster to prevent the Amazon EC2 instances from being terminated by an API call or user intervention, or in the event of a cluster error.

        Returns:
        Indicates whether Amazon EMR will lock the cluster to prevent the Amazon EC2 instances from being terminated by an API call or user intervention, or in the event of a cluster error.
      • setUnhealthyNodeReplacement

        public void setUnhealthyNodeReplacement(Boolean unhealthyNodeReplacement)

        Indicates whether Amazon EMR should gracefully replace Amazon EC2 core instances that have degraded within the cluster.

        Parameters:
        unhealthyNodeReplacement - Indicates whether Amazon EMR should gracefully replace Amazon EC2 core instances that have degraded within the cluster.
      • getUnhealthyNodeReplacement

        public Boolean getUnhealthyNodeReplacement()

        Indicates whether Amazon EMR should gracefully replace Amazon EC2 core instances that have degraded within the cluster.

        Returns:
        Indicates whether Amazon EMR should gracefully replace Amazon EC2 core instances that have degraded within the cluster.
      • withUnhealthyNodeReplacement

        public Cluster withUnhealthyNodeReplacement(Boolean unhealthyNodeReplacement)

        Indicates whether Amazon EMR should gracefully replace Amazon EC2 core instances that have degraded within the cluster.

        Parameters:
        unhealthyNodeReplacement - Indicates whether Amazon EMR should gracefully replace Amazon EC2 core instances that have degraded within the cluster.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • isUnhealthyNodeReplacement

        public Boolean isUnhealthyNodeReplacement()

        Indicates whether Amazon EMR should gracefully replace Amazon EC2 core instances that have degraded within the cluster.

        Returns:
        Indicates whether Amazon EMR should gracefully replace Amazon EC2 core instances that have degraded within the cluster.
      • setVisibleToAllUsers

        public void setVisibleToAllUsers(Boolean visibleToAllUsers)

        Indicates whether the cluster is visible to IAM principals in the Amazon Web Services account associated with the cluster. When true, IAM principals in the Amazon Web Services account can perform Amazon EMR cluster actions on the cluster that their IAM policies allow. When false, only the IAM principal that created the cluster and the Amazon Web Services account root user can perform Amazon EMR actions, regardless of IAM permissions policies attached to other IAM principals.

        The default value is true if a value is not provided when creating a cluster using the Amazon EMR API RunJobFlow command, the CLI create-cluster command, or the Amazon Web Services Management Console.

        Parameters:
        visibleToAllUsers - Indicates whether the cluster is visible to IAM principals in the Amazon Web Services account associated with the cluster. When true, IAM principals in the Amazon Web Services account can perform Amazon EMR cluster actions on the cluster that their IAM policies allow. When false, only the IAM principal that created the cluster and the Amazon Web Services account root user can perform Amazon EMR actions, regardless of IAM permissions policies attached to other IAM principals.

        The default value is true if a value is not provided when creating a cluster using the Amazon EMR API RunJobFlow command, the CLI create-cluster command, or the Amazon Web Services Management Console.

      • getVisibleToAllUsers

        public Boolean getVisibleToAllUsers()

        Indicates whether the cluster is visible to IAM principals in the Amazon Web Services account associated with the cluster. When true, IAM principals in the Amazon Web Services account can perform Amazon EMR cluster actions on the cluster that their IAM policies allow. When false, only the IAM principal that created the cluster and the Amazon Web Services account root user can perform Amazon EMR actions, regardless of IAM permissions policies attached to other IAM principals.

        The default value is true if a value is not provided when creating a cluster using the Amazon EMR API RunJobFlow command, the CLI create-cluster command, or the Amazon Web Services Management Console.

        Returns:
        Indicates whether the cluster is visible to IAM principals in the Amazon Web Services account associated with the cluster. When true, IAM principals in the Amazon Web Services account can perform Amazon EMR cluster actions on the cluster that their IAM policies allow. When false, only the IAM principal that created the cluster and the Amazon Web Services account root user can perform Amazon EMR actions, regardless of IAM permissions policies attached to other IAM principals.

        The default value is true if a value is not provided when creating a cluster using the Amazon EMR API RunJobFlow command, the CLI create-cluster command, or the Amazon Web Services Management Console.

      • withVisibleToAllUsers

        public Cluster withVisibleToAllUsers(Boolean visibleToAllUsers)

        Indicates whether the cluster is visible to IAM principals in the Amazon Web Services account associated with the cluster. When true, IAM principals in the Amazon Web Services account can perform Amazon EMR cluster actions on the cluster that their IAM policies allow. When false, only the IAM principal that created the cluster and the Amazon Web Services account root user can perform Amazon EMR actions, regardless of IAM permissions policies attached to other IAM principals.

        The default value is true if a value is not provided when creating a cluster using the Amazon EMR API RunJobFlow command, the CLI create-cluster command, or the Amazon Web Services Management Console.

        Parameters:
        visibleToAllUsers - Indicates whether the cluster is visible to IAM principals in the Amazon Web Services account associated with the cluster. When true, IAM principals in the Amazon Web Services account can perform Amazon EMR cluster actions on the cluster that their IAM policies allow. When false, only the IAM principal that created the cluster and the Amazon Web Services account root user can perform Amazon EMR actions, regardless of IAM permissions policies attached to other IAM principals.

        The default value is true if a value is not provided when creating a cluster using the Amazon EMR API RunJobFlow command, the CLI create-cluster command, or the Amazon Web Services Management Console.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • isVisibleToAllUsers

        public Boolean isVisibleToAllUsers()

        Indicates whether the cluster is visible to IAM principals in the Amazon Web Services account associated with the cluster. When true, IAM principals in the Amazon Web Services account can perform Amazon EMR cluster actions on the cluster that their IAM policies allow. When false, only the IAM principal that created the cluster and the Amazon Web Services account root user can perform Amazon EMR actions, regardless of IAM permissions policies attached to other IAM principals.

        The default value is true if a value is not provided when creating a cluster using the Amazon EMR API RunJobFlow command, the CLI create-cluster command, or the Amazon Web Services Management Console.

        Returns:
        Indicates whether the cluster is visible to IAM principals in the Amazon Web Services account associated with the cluster. When true, IAM principals in the Amazon Web Services account can perform Amazon EMR cluster actions on the cluster that their IAM policies allow. When false, only the IAM principal that created the cluster and the Amazon Web Services account root user can perform Amazon EMR actions, regardless of IAM permissions policies attached to other IAM principals.

        The default value is true if a value is not provided when creating a cluster using the Amazon EMR API RunJobFlow command, the CLI create-cluster command, or the Amazon Web Services Management Console.

      • getApplications

        public List<Application> getApplications()

        The applications installed on this cluster.

        Returns:
        The applications installed on this cluster.
      • setApplications

        public void setApplications(Collection<Application> applications)

        The applications installed on this cluster.

        Parameters:
        applications - The applications installed on this cluster.
      • withApplications

        public Cluster withApplications(Application... applications)

        The applications installed on this cluster.

        NOTE: This method appends the values to the existing list (if any). Use setApplications(java.util.Collection) or withApplications(java.util.Collection) if you want to override the existing values.

        Parameters:
        applications - The applications installed on this cluster.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withApplications

        public Cluster withApplications(Collection<Application> applications)

        The applications installed on this cluster.

        Parameters:
        applications - The applications installed on this cluster.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getTags

        public List<Tag> getTags()

        A list of tags associated with a cluster.

        Returns:
        A list of tags associated with a cluster.
      • setTags

        public void setTags(Collection<Tag> tags)

        A list of tags associated with a cluster.

        Parameters:
        tags - A list of tags associated with a cluster.
      • withTags

        public Cluster withTags(Tag... tags)

        A list of tags associated with a cluster.

        NOTE: This method appends the values to the existing list (if any). Use setTags(java.util.Collection) or withTags(java.util.Collection) if you want to override the existing values.

        Parameters:
        tags - A list of tags associated with a cluster.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withTags

        public Cluster withTags(Collection<Tag> tags)

        A list of tags associated with a cluster.

        Parameters:
        tags - A list of tags associated with a cluster.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setServiceRole

        public void setServiceRole(String serviceRole)

        The IAM role that Amazon EMR assumes in order to access Amazon Web Services resources on your behalf.

        Parameters:
        serviceRole - The IAM role that Amazon EMR assumes in order to access Amazon Web Services resources on your behalf.
      • getServiceRole

        public String getServiceRole()

        The IAM role that Amazon EMR assumes in order to access Amazon Web Services resources on your behalf.

        Returns:
        The IAM role that Amazon EMR assumes in order to access Amazon Web Services resources on your behalf.
      • withServiceRole

        public Cluster withServiceRole(String serviceRole)

        The IAM role that Amazon EMR assumes in order to access Amazon Web Services resources on your behalf.

        Parameters:
        serviceRole - The IAM role that Amazon EMR assumes in order to access Amazon Web Services resources on your behalf.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setNormalizedInstanceHours

        public void setNormalizedInstanceHours(Integer normalizedInstanceHours)

        An approximation of the cost of the cluster, represented in m1.small/hours. This value is incremented one time for every hour an m1.small instance runs. Larger instances are weighted more, so an Amazon EC2 instance that is roughly four times more expensive would result in the normalized instance hours being incremented by four. This result is only an approximation and does not reflect the actual billing rate.

        Parameters:
        normalizedInstanceHours - An approximation of the cost of the cluster, represented in m1.small/hours. This value is incremented one time for every hour an m1.small instance runs. Larger instances are weighted more, so an Amazon EC2 instance that is roughly four times more expensive would result in the normalized instance hours being incremented by four. This result is only an approximation and does not reflect the actual billing rate.
      • getNormalizedInstanceHours

        public Integer getNormalizedInstanceHours()

        An approximation of the cost of the cluster, represented in m1.small/hours. This value is incremented one time for every hour an m1.small instance runs. Larger instances are weighted more, so an Amazon EC2 instance that is roughly four times more expensive would result in the normalized instance hours being incremented by four. This result is only an approximation and does not reflect the actual billing rate.

        Returns:
        An approximation of the cost of the cluster, represented in m1.small/hours. This value is incremented one time for every hour an m1.small instance runs. Larger instances are weighted more, so an Amazon EC2 instance that is roughly four times more expensive would result in the normalized instance hours being incremented by four. This result is only an approximation and does not reflect the actual billing rate.
      • withNormalizedInstanceHours

        public Cluster withNormalizedInstanceHours(Integer normalizedInstanceHours)

        An approximation of the cost of the cluster, represented in m1.small/hours. This value is incremented one time for every hour an m1.small instance runs. Larger instances are weighted more, so an Amazon EC2 instance that is roughly four times more expensive would result in the normalized instance hours being incremented by four. This result is only an approximation and does not reflect the actual billing rate.

        Parameters:
        normalizedInstanceHours - An approximation of the cost of the cluster, represented in m1.small/hours. This value is incremented one time for every hour an m1.small instance runs. Larger instances are weighted more, so an Amazon EC2 instance that is roughly four times more expensive would result in the normalized instance hours being incremented by four. This result is only an approximation and does not reflect the actual billing rate.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setMasterPublicDnsName

        public void setMasterPublicDnsName(String masterPublicDnsName)

        The DNS name of the master node. If the cluster is on a private subnet, this is the private DNS name. On a public subnet, this is the public DNS name.

        Parameters:
        masterPublicDnsName - The DNS name of the master node. If the cluster is on a private subnet, this is the private DNS name. On a public subnet, this is the public DNS name.
      • getMasterPublicDnsName

        public String getMasterPublicDnsName()

        The DNS name of the master node. If the cluster is on a private subnet, this is the private DNS name. On a public subnet, this is the public DNS name.

        Returns:
        The DNS name of the master node. If the cluster is on a private subnet, this is the private DNS name. On a public subnet, this is the public DNS name.
      • withMasterPublicDnsName

        public Cluster withMasterPublicDnsName(String masterPublicDnsName)

        The DNS name of the master node. If the cluster is on a private subnet, this is the private DNS name. On a public subnet, this is the public DNS name.

        Parameters:
        masterPublicDnsName - The DNS name of the master node. If the cluster is on a private subnet, this is the private DNS name. On a public subnet, this is the public DNS name.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getConfigurations

        public List<Configuration> getConfigurations()

        Applies only to Amazon EMR releases 4.x and later. The list of configurations that are supplied to the Amazon EMR cluster.

        Returns:
        Applies only to Amazon EMR releases 4.x and later. The list of configurations that are supplied to the Amazon EMR cluster.
      • setConfigurations

        public void setConfigurations(Collection<Configuration> configurations)

        Applies only to Amazon EMR releases 4.x and later. The list of configurations that are supplied to the Amazon EMR cluster.

        Parameters:
        configurations - Applies only to Amazon EMR releases 4.x and later. The list of configurations that are supplied to the Amazon EMR cluster.
      • withConfigurations

        public Cluster withConfigurations(Configuration... configurations)

        Applies only to Amazon EMR releases 4.x and later. The list of configurations that are supplied to the Amazon EMR cluster.

        NOTE: This method appends the values to the existing list (if any). Use setConfigurations(java.util.Collection) or withConfigurations(java.util.Collection) if you want to override the existing values.

        Parameters:
        configurations - Applies only to Amazon EMR releases 4.x and later. The list of configurations that are supplied to the Amazon EMR cluster.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withConfigurations

        public Cluster withConfigurations(Collection<Configuration> configurations)

        Applies only to Amazon EMR releases 4.x and later. The list of configurations that are supplied to the Amazon EMR cluster.

        Parameters:
        configurations - Applies only to Amazon EMR releases 4.x and later. The list of configurations that are supplied to the Amazon EMR cluster.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setSecurityConfiguration

        public void setSecurityConfiguration(String securityConfiguration)

        The name of the security configuration applied to the cluster.

        Parameters:
        securityConfiguration - The name of the security configuration applied to the cluster.
      • getSecurityConfiguration

        public String getSecurityConfiguration()

        The name of the security configuration applied to the cluster.

        Returns:
        The name of the security configuration applied to the cluster.
      • withSecurityConfiguration

        public Cluster withSecurityConfiguration(String securityConfiguration)

        The name of the security configuration applied to the cluster.

        Parameters:
        securityConfiguration - The name of the security configuration applied to the cluster.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setAutoScalingRole

        public void setAutoScalingRole(String autoScalingRole)

        An IAM role for automatic scaling policies. The default role is EMR_AutoScaling_DefaultRole. The IAM role provides permissions that the automatic scaling feature requires to launch and terminate Amazon EC2 instances in an instance group.

        Parameters:
        autoScalingRole - An IAM role for automatic scaling policies. The default role is EMR_AutoScaling_DefaultRole. The IAM role provides permissions that the automatic scaling feature requires to launch and terminate Amazon EC2 instances in an instance group.
      • getAutoScalingRole

        public String getAutoScalingRole()

        An IAM role for automatic scaling policies. The default role is EMR_AutoScaling_DefaultRole. The IAM role provides permissions that the automatic scaling feature requires to launch and terminate Amazon EC2 instances in an instance group.

        Returns:
        An IAM role for automatic scaling policies. The default role is EMR_AutoScaling_DefaultRole. The IAM role provides permissions that the automatic scaling feature requires to launch and terminate Amazon EC2 instances in an instance group.
      • withAutoScalingRole

        public Cluster withAutoScalingRole(String autoScalingRole)

        An IAM role for automatic scaling policies. The default role is EMR_AutoScaling_DefaultRole. The IAM role provides permissions that the automatic scaling feature requires to launch and terminate Amazon EC2 instances in an instance group.

        Parameters:
        autoScalingRole - An IAM role for automatic scaling policies. The default role is EMR_AutoScaling_DefaultRole. The IAM role provides permissions that the automatic scaling feature requires to launch and terminate Amazon EC2 instances in an instance group.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setScaleDownBehavior

        public void setScaleDownBehavior(String scaleDownBehavior)

        The way that individual Amazon EC2 instances terminate when an automatic scale-in activity occurs or an instance group is resized. TERMINATE_AT_INSTANCE_HOUR indicates that Amazon EMR terminates nodes at the instance-hour boundary, regardless of when the request to terminate the instance was submitted. This option is only available with Amazon EMR 5.1.0 and later and is the default for clusters created using that version. TERMINATE_AT_TASK_COMPLETION indicates that Amazon EMR adds nodes to a deny list and drains tasks from nodes before terminating the Amazon EC2 instances, regardless of the instance-hour boundary. With either behavior, Amazon EMR removes the least active nodes first and blocks instance termination if it could lead to HDFS corruption. TERMINATE_AT_TASK_COMPLETION is available only in Amazon EMR releases 4.1.0 and later, and is the default for versions of Amazon EMR earlier than 5.1.0.

        Parameters:
        scaleDownBehavior - The way that individual Amazon EC2 instances terminate when an automatic scale-in activity occurs or an instance group is resized. TERMINATE_AT_INSTANCE_HOUR indicates that Amazon EMR terminates nodes at the instance-hour boundary, regardless of when the request to terminate the instance was submitted. This option is only available with Amazon EMR 5.1.0 and later and is the default for clusters created using that version. TERMINATE_AT_TASK_COMPLETION indicates that Amazon EMR adds nodes to a deny list and drains tasks from nodes before terminating the Amazon EC2 instances, regardless of the instance-hour boundary. With either behavior, Amazon EMR removes the least active nodes first and blocks instance termination if it could lead to HDFS corruption. TERMINATE_AT_TASK_COMPLETION is available only in Amazon EMR releases 4.1.0 and later, and is the default for versions of Amazon EMR earlier than 5.1.0.
        See Also:
        ScaleDownBehavior
      • getScaleDownBehavior

        public String getScaleDownBehavior()

        The way that individual Amazon EC2 instances terminate when an automatic scale-in activity occurs or an instance group is resized. TERMINATE_AT_INSTANCE_HOUR indicates that Amazon EMR terminates nodes at the instance-hour boundary, regardless of when the request to terminate the instance was submitted. This option is only available with Amazon EMR 5.1.0 and later and is the default for clusters created using that version. TERMINATE_AT_TASK_COMPLETION indicates that Amazon EMR adds nodes to a deny list and drains tasks from nodes before terminating the Amazon EC2 instances, regardless of the instance-hour boundary. With either behavior, Amazon EMR removes the least active nodes first and blocks instance termination if it could lead to HDFS corruption. TERMINATE_AT_TASK_COMPLETION is available only in Amazon EMR releases 4.1.0 and later, and is the default for versions of Amazon EMR earlier than 5.1.0.

        Returns:
        The way that individual Amazon EC2 instances terminate when an automatic scale-in activity occurs or an instance group is resized. TERMINATE_AT_INSTANCE_HOUR indicates that Amazon EMR terminates nodes at the instance-hour boundary, regardless of when the request to terminate the instance was submitted. This option is only available with Amazon EMR 5.1.0 and later and is the default for clusters created using that version. TERMINATE_AT_TASK_COMPLETION indicates that Amazon EMR adds nodes to a deny list and drains tasks from nodes before terminating the Amazon EC2 instances, regardless of the instance-hour boundary. With either behavior, Amazon EMR removes the least active nodes first and blocks instance termination if it could lead to HDFS corruption. TERMINATE_AT_TASK_COMPLETION is available only in Amazon EMR releases 4.1.0 and later, and is the default for versions of Amazon EMR earlier than 5.1.0.
        See Also:
        ScaleDownBehavior
      • withScaleDownBehavior

        public Cluster withScaleDownBehavior(String scaleDownBehavior)

        The way that individual Amazon EC2 instances terminate when an automatic scale-in activity occurs or an instance group is resized. TERMINATE_AT_INSTANCE_HOUR indicates that Amazon EMR terminates nodes at the instance-hour boundary, regardless of when the request to terminate the instance was submitted. This option is only available with Amazon EMR 5.1.0 and later and is the default for clusters created using that version. TERMINATE_AT_TASK_COMPLETION indicates that Amazon EMR adds nodes to a deny list and drains tasks from nodes before terminating the Amazon EC2 instances, regardless of the instance-hour boundary. With either behavior, Amazon EMR removes the least active nodes first and blocks instance termination if it could lead to HDFS corruption. TERMINATE_AT_TASK_COMPLETION is available only in Amazon EMR releases 4.1.0 and later, and is the default for versions of Amazon EMR earlier than 5.1.0.

        Parameters:
        scaleDownBehavior - The way that individual Amazon EC2 instances terminate when an automatic scale-in activity occurs or an instance group is resized. TERMINATE_AT_INSTANCE_HOUR indicates that Amazon EMR terminates nodes at the instance-hour boundary, regardless of when the request to terminate the instance was submitted. This option is only available with Amazon EMR 5.1.0 and later and is the default for clusters created using that version. TERMINATE_AT_TASK_COMPLETION indicates that Amazon EMR adds nodes to a deny list and drains tasks from nodes before terminating the Amazon EC2 instances, regardless of the instance-hour boundary. With either behavior, Amazon EMR removes the least active nodes first and blocks instance termination if it could lead to HDFS corruption. TERMINATE_AT_TASK_COMPLETION is available only in Amazon EMR releases 4.1.0 and later, and is the default for versions of Amazon EMR earlier than 5.1.0.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ScaleDownBehavior
      • setScaleDownBehavior

        public void setScaleDownBehavior(ScaleDownBehavior scaleDownBehavior)

        The way that individual Amazon EC2 instances terminate when an automatic scale-in activity occurs or an instance group is resized. TERMINATE_AT_INSTANCE_HOUR indicates that Amazon EMR terminates nodes at the instance-hour boundary, regardless of when the request to terminate the instance was submitted. This option is only available with Amazon EMR 5.1.0 and later and is the default for clusters created using that version. TERMINATE_AT_TASK_COMPLETION indicates that Amazon EMR adds nodes to a deny list and drains tasks from nodes before terminating the Amazon EC2 instances, regardless of the instance-hour boundary. With either behavior, Amazon EMR removes the least active nodes first and blocks instance termination if it could lead to HDFS corruption. TERMINATE_AT_TASK_COMPLETION is available only in Amazon EMR releases 4.1.0 and later, and is the default for versions of Amazon EMR earlier than 5.1.0.

        Parameters:
        scaleDownBehavior - The way that individual Amazon EC2 instances terminate when an automatic scale-in activity occurs or an instance group is resized. TERMINATE_AT_INSTANCE_HOUR indicates that Amazon EMR terminates nodes at the instance-hour boundary, regardless of when the request to terminate the instance was submitted. This option is only available with Amazon EMR 5.1.0 and later and is the default for clusters created using that version. TERMINATE_AT_TASK_COMPLETION indicates that Amazon EMR adds nodes to a deny list and drains tasks from nodes before terminating the Amazon EC2 instances, regardless of the instance-hour boundary. With either behavior, Amazon EMR removes the least active nodes first and blocks instance termination if it could lead to HDFS corruption. TERMINATE_AT_TASK_COMPLETION is available only in Amazon EMR releases 4.1.0 and later, and is the default for versions of Amazon EMR earlier than 5.1.0.
        See Also:
        ScaleDownBehavior
      • withScaleDownBehavior

        public Cluster withScaleDownBehavior(ScaleDownBehavior scaleDownBehavior)

        The way that individual Amazon EC2 instances terminate when an automatic scale-in activity occurs or an instance group is resized. TERMINATE_AT_INSTANCE_HOUR indicates that Amazon EMR terminates nodes at the instance-hour boundary, regardless of when the request to terminate the instance was submitted. This option is only available with Amazon EMR 5.1.0 and later and is the default for clusters created using that version. TERMINATE_AT_TASK_COMPLETION indicates that Amazon EMR adds nodes to a deny list and drains tasks from nodes before terminating the Amazon EC2 instances, regardless of the instance-hour boundary. With either behavior, Amazon EMR removes the least active nodes first and blocks instance termination if it could lead to HDFS corruption. TERMINATE_AT_TASK_COMPLETION is available only in Amazon EMR releases 4.1.0 and later, and is the default for versions of Amazon EMR earlier than 5.1.0.

        Parameters:
        scaleDownBehavior - The way that individual Amazon EC2 instances terminate when an automatic scale-in activity occurs or an instance group is resized. TERMINATE_AT_INSTANCE_HOUR indicates that Amazon EMR terminates nodes at the instance-hour boundary, regardless of when the request to terminate the instance was submitted. This option is only available with Amazon EMR 5.1.0 and later and is the default for clusters created using that version. TERMINATE_AT_TASK_COMPLETION indicates that Amazon EMR adds nodes to a deny list and drains tasks from nodes before terminating the Amazon EC2 instances, regardless of the instance-hour boundary. With either behavior, Amazon EMR removes the least active nodes first and blocks instance termination if it could lead to HDFS corruption. TERMINATE_AT_TASK_COMPLETION is available only in Amazon EMR releases 4.1.0 and later, and is the default for versions of Amazon EMR earlier than 5.1.0.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ScaleDownBehavior
      • setCustomAmiId

        public void setCustomAmiId(String customAmiId)

        Available only in Amazon EMR releases 5.7.0 and later. The ID of a custom Amazon EBS-backed Linux AMI if the cluster uses a custom AMI.

        Parameters:
        customAmiId - Available only in Amazon EMR releases 5.7.0 and later. The ID of a custom Amazon EBS-backed Linux AMI if the cluster uses a custom AMI.
      • getCustomAmiId

        public String getCustomAmiId()

        Available only in Amazon EMR releases 5.7.0 and later. The ID of a custom Amazon EBS-backed Linux AMI if the cluster uses a custom AMI.

        Returns:
        Available only in Amazon EMR releases 5.7.0 and later. The ID of a custom Amazon EBS-backed Linux AMI if the cluster uses a custom AMI.
      • withCustomAmiId

        public Cluster withCustomAmiId(String customAmiId)

        Available only in Amazon EMR releases 5.7.0 and later. The ID of a custom Amazon EBS-backed Linux AMI if the cluster uses a custom AMI.

        Parameters:
        customAmiId - Available only in Amazon EMR releases 5.7.0 and later. The ID of a custom Amazon EBS-backed Linux AMI if the cluster uses a custom AMI.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setEbsRootVolumeSize

        public void setEbsRootVolumeSize(Integer ebsRootVolumeSize)

        The size, in GiB, of the Amazon EBS root device volume of the Linux AMI that is used for each Amazon EC2 instance. Available in Amazon EMR releases 4.x and later.

        Parameters:
        ebsRootVolumeSize - The size, in GiB, of the Amazon EBS root device volume of the Linux AMI that is used for each Amazon EC2 instance. Available in Amazon EMR releases 4.x and later.
      • getEbsRootVolumeSize

        public Integer getEbsRootVolumeSize()

        The size, in GiB, of the Amazon EBS root device volume of the Linux AMI that is used for each Amazon EC2 instance. Available in Amazon EMR releases 4.x and later.

        Returns:
        The size, in GiB, of the Amazon EBS root device volume of the Linux AMI that is used for each Amazon EC2 instance. Available in Amazon EMR releases 4.x and later.
      • withEbsRootVolumeSize

        public Cluster withEbsRootVolumeSize(Integer ebsRootVolumeSize)

        The size, in GiB, of the Amazon EBS root device volume of the Linux AMI that is used for each Amazon EC2 instance. Available in Amazon EMR releases 4.x and later.

        Parameters:
        ebsRootVolumeSize - The size, in GiB, of the Amazon EBS root device volume of the Linux AMI that is used for each Amazon EC2 instance. Available in Amazon EMR releases 4.x and later.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setRepoUpgradeOnBoot

        public void setRepoUpgradeOnBoot(String repoUpgradeOnBoot)

        Applies only when CustomAmiID is used. Specifies the type of updates that the Amazon Linux AMI package repositories apply when an instance boots using the AMI.

        Parameters:
        repoUpgradeOnBoot - Applies only when CustomAmiID is used. Specifies the type of updates that the Amazon Linux AMI package repositories apply when an instance boots using the AMI.
        See Also:
        RepoUpgradeOnBoot
      • getRepoUpgradeOnBoot

        public String getRepoUpgradeOnBoot()

        Applies only when CustomAmiID is used. Specifies the type of updates that the Amazon Linux AMI package repositories apply when an instance boots using the AMI.

        Returns:
        Applies only when CustomAmiID is used. Specifies the type of updates that the Amazon Linux AMI package repositories apply when an instance boots using the AMI.
        See Also:
        RepoUpgradeOnBoot
      • withRepoUpgradeOnBoot

        public Cluster withRepoUpgradeOnBoot(String repoUpgradeOnBoot)

        Applies only when CustomAmiID is used. Specifies the type of updates that the Amazon Linux AMI package repositories apply when an instance boots using the AMI.

        Parameters:
        repoUpgradeOnBoot - Applies only when CustomAmiID is used. Specifies the type of updates that the Amazon Linux AMI package repositories apply when an instance boots using the AMI.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        RepoUpgradeOnBoot
      • setRepoUpgradeOnBoot

        public void setRepoUpgradeOnBoot(RepoUpgradeOnBoot repoUpgradeOnBoot)

        Applies only when CustomAmiID is used. Specifies the type of updates that the Amazon Linux AMI package repositories apply when an instance boots using the AMI.

        Parameters:
        repoUpgradeOnBoot - Applies only when CustomAmiID is used. Specifies the type of updates that the Amazon Linux AMI package repositories apply when an instance boots using the AMI.
        See Also:
        RepoUpgradeOnBoot
      • withRepoUpgradeOnBoot

        public Cluster withRepoUpgradeOnBoot(RepoUpgradeOnBoot repoUpgradeOnBoot)

        Applies only when CustomAmiID is used. Specifies the type of updates that the Amazon Linux AMI package repositories apply when an instance boots using the AMI.

        Parameters:
        repoUpgradeOnBoot - Applies only when CustomAmiID is used. Specifies the type of updates that the Amazon Linux AMI package repositories apply when an instance boots using the AMI.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        RepoUpgradeOnBoot
      • setKerberosAttributes

        public void setKerberosAttributes(KerberosAttributes kerberosAttributes)

        Attributes for Kerberos configuration when Kerberos authentication is enabled using a security configuration. For more information see Use Kerberos Authentication in the Amazon EMR Management Guide.

        Parameters:
        kerberosAttributes - Attributes for Kerberos configuration when Kerberos authentication is enabled using a security configuration. For more information see Use Kerberos Authentication in the Amazon EMR Management Guide.
      • getKerberosAttributes

        public KerberosAttributes getKerberosAttributes()

        Attributes for Kerberos configuration when Kerberos authentication is enabled using a security configuration. For more information see Use Kerberos Authentication in the Amazon EMR Management Guide.

        Returns:
        Attributes for Kerberos configuration when Kerberos authentication is enabled using a security configuration. For more information see Use Kerberos Authentication in the Amazon EMR Management Guide.
      • withKerberosAttributes

        public Cluster withKerberosAttributes(KerberosAttributes kerberosAttributes)

        Attributes for Kerberos configuration when Kerberos authentication is enabled using a security configuration. For more information see Use Kerberos Authentication in the Amazon EMR Management Guide.

        Parameters:
        kerberosAttributes - Attributes for Kerberos configuration when Kerberos authentication is enabled using a security configuration. For more information see Use Kerberos Authentication in the Amazon EMR Management Guide.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setClusterArn

        public void setClusterArn(String clusterArn)

        The Amazon Resource Name of the cluster.

        Parameters:
        clusterArn - The Amazon Resource Name of the cluster.
      • getClusterArn

        public String getClusterArn()

        The Amazon Resource Name of the cluster.

        Returns:
        The Amazon Resource Name of the cluster.
      • withClusterArn

        public Cluster withClusterArn(String clusterArn)

        The Amazon Resource Name of the cluster.

        Parameters:
        clusterArn - The Amazon Resource Name of the cluster.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setOutpostArn

        public void setOutpostArn(String outpostArn)

        The Amazon Resource Name (ARN) of the Outpost where the cluster is launched.

        Parameters:
        outpostArn - The Amazon Resource Name (ARN) of the Outpost where the cluster is launched.
      • getOutpostArn

        public String getOutpostArn()

        The Amazon Resource Name (ARN) of the Outpost where the cluster is launched.

        Returns:
        The Amazon Resource Name (ARN) of the Outpost where the cluster is launched.
      • withOutpostArn

        public Cluster withOutpostArn(String outpostArn)

        The Amazon Resource Name (ARN) of the Outpost where the cluster is launched.

        Parameters:
        outpostArn - The Amazon Resource Name (ARN) of the Outpost where the cluster is launched.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setStepConcurrencyLevel

        public void setStepConcurrencyLevel(Integer stepConcurrencyLevel)

        Specifies the number of steps that can be executed concurrently.

        Parameters:
        stepConcurrencyLevel - Specifies the number of steps that can be executed concurrently.
      • getStepConcurrencyLevel

        public Integer getStepConcurrencyLevel()

        Specifies the number of steps that can be executed concurrently.

        Returns:
        Specifies the number of steps that can be executed concurrently.
      • withStepConcurrencyLevel

        public Cluster withStepConcurrencyLevel(Integer stepConcurrencyLevel)

        Specifies the number of steps that can be executed concurrently.

        Parameters:
        stepConcurrencyLevel - Specifies the number of steps that can be executed concurrently.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getPlacementGroups

        public List<PlacementGroupConfig> getPlacementGroups()

        Placement group configured for an Amazon EMR cluster.

        Returns:
        Placement group configured for an Amazon EMR cluster.
      • setPlacementGroups

        public void setPlacementGroups(Collection<PlacementGroupConfig> placementGroups)

        Placement group configured for an Amazon EMR cluster.

        Parameters:
        placementGroups - Placement group configured for an Amazon EMR cluster.
      • withPlacementGroups

        public Cluster withPlacementGroups(Collection<PlacementGroupConfig> placementGroups)

        Placement group configured for an Amazon EMR cluster.

        Parameters:
        placementGroups - Placement group configured for an Amazon EMR cluster.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setOSReleaseLabel

        public void setOSReleaseLabel(String oSReleaseLabel)

        The Amazon Linux release specified in a cluster launch RunJobFlow request. If no Amazon Linux release was specified, the default Amazon Linux release is shown in the response.

        Parameters:
        oSReleaseLabel - The Amazon Linux release specified in a cluster launch RunJobFlow request. If no Amazon Linux release was specified, the default Amazon Linux release is shown in the response.
      • getOSReleaseLabel

        public String getOSReleaseLabel()

        The Amazon Linux release specified in a cluster launch RunJobFlow request. If no Amazon Linux release was specified, the default Amazon Linux release is shown in the response.

        Returns:
        The Amazon Linux release specified in a cluster launch RunJobFlow request. If no Amazon Linux release was specified, the default Amazon Linux release is shown in the response.
      • withOSReleaseLabel

        public Cluster withOSReleaseLabel(String oSReleaseLabel)

        The Amazon Linux release specified in a cluster launch RunJobFlow request. If no Amazon Linux release was specified, the default Amazon Linux release is shown in the response.

        Parameters:
        oSReleaseLabel - The Amazon Linux release specified in a cluster launch RunJobFlow request. If no Amazon Linux release was specified, the default Amazon Linux release is shown in the response.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setEbsRootVolumeIops

        public void setEbsRootVolumeIops(Integer ebsRootVolumeIops)

        The IOPS, of the Amazon EBS root device volume of the Linux AMI that is used for each Amazon EC2 instance. Available in Amazon EMR releases 6.15.0 and later.

        Parameters:
        ebsRootVolumeIops - The IOPS, of the Amazon EBS root device volume of the Linux AMI that is used for each Amazon EC2 instance. Available in Amazon EMR releases 6.15.0 and later.
      • getEbsRootVolumeIops

        public Integer getEbsRootVolumeIops()

        The IOPS, of the Amazon EBS root device volume of the Linux AMI that is used for each Amazon EC2 instance. Available in Amazon EMR releases 6.15.0 and later.

        Returns:
        The IOPS, of the Amazon EBS root device volume of the Linux AMI that is used for each Amazon EC2 instance. Available in Amazon EMR releases 6.15.0 and later.
      • withEbsRootVolumeIops

        public Cluster withEbsRootVolumeIops(Integer ebsRootVolumeIops)

        The IOPS, of the Amazon EBS root device volume of the Linux AMI that is used for each Amazon EC2 instance. Available in Amazon EMR releases 6.15.0 and later.

        Parameters:
        ebsRootVolumeIops - The IOPS, of the Amazon EBS root device volume of the Linux AMI that is used for each Amazon EC2 instance. Available in Amazon EMR releases 6.15.0 and later.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setEbsRootVolumeThroughput

        public void setEbsRootVolumeThroughput(Integer ebsRootVolumeThroughput)

        The throughput, in MiB/s, of the Amazon EBS root device volume of the Linux AMI that is used for each Amazon EC2 instance. Available in Amazon EMR releases 6.15.0 and later.

        Parameters:
        ebsRootVolumeThroughput - The throughput, in MiB/s, of the Amazon EBS root device volume of the Linux AMI that is used for each Amazon EC2 instance. Available in Amazon EMR releases 6.15.0 and later.
      • getEbsRootVolumeThroughput

        public Integer getEbsRootVolumeThroughput()

        The throughput, in MiB/s, of the Amazon EBS root device volume of the Linux AMI that is used for each Amazon EC2 instance. Available in Amazon EMR releases 6.15.0 and later.

        Returns:
        The throughput, in MiB/s, of the Amazon EBS root device volume of the Linux AMI that is used for each Amazon EC2 instance. Available in Amazon EMR releases 6.15.0 and later.
      • withEbsRootVolumeThroughput

        public Cluster withEbsRootVolumeThroughput(Integer ebsRootVolumeThroughput)

        The throughput, in MiB/s, of the Amazon EBS root device volume of the Linux AMI that is used for each Amazon EC2 instance. Available in Amazon EMR releases 6.15.0 and later.

        Parameters:
        ebsRootVolumeThroughput - The throughput, in MiB/s, of the Amazon EBS root device volume of the Linux AMI that is used for each Amazon EC2 instance. Available in Amazon EMR releases 6.15.0 and later.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /