Class SetTerminationProtectionRequest

    • Constructor Detail

      • SetTerminationProtectionRequest

        public SetTerminationProtectionRequest()
    • Method Detail

      • getJobFlowIds

        public List<String> getJobFlowIds()

        A list of strings that uniquely identify the job flows to protect. This identifier is returned by RunJobFlow and can also be obtained from DescribeJobFlows .

        Returns:
        A list of strings that uniquely identify the job flows to protect. This identifier is returned by RunJobFlow and can also be obtained from DescribeJobFlows .
      • setJobFlowIds

        public void setJobFlowIds​(Collection<String> jobFlowIds)

        A list of strings that uniquely identify the job flows to protect. This identifier is returned by RunJobFlow and can also be obtained from DescribeJobFlows .

        Parameters:
        jobFlowIds - A list of strings that uniquely identify the job flows to protect. This identifier is returned by RunJobFlow and can also be obtained from DescribeJobFlows .
      • withJobFlowIds

        public SetTerminationProtectionRequest withJobFlowIds​(Collection<String> jobFlowIds)

        A list of strings that uniquely identify the job flows to protect. This identifier is returned by RunJobFlow and can also be obtained from DescribeJobFlows .

        Parameters:
        jobFlowIds - A list of strings that uniquely identify the job flows to protect. This identifier is returned by RunJobFlow and can also be obtained from DescribeJobFlows .
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setTerminationProtected

        public void setTerminationProtected​(Boolean terminationProtected)

        A Boolean that indicates whether to protect the job flow and prevent the Amazon EC2 instances in the cluster from shutting down due to API calls, user intervention, or job-flow error.

        Parameters:
        terminationProtected - A Boolean that indicates whether to protect the job flow and prevent the Amazon EC2 instances in the cluster from shutting down due to API calls, user intervention, or job-flow error.
      • getTerminationProtected

        public Boolean getTerminationProtected()

        A Boolean that indicates whether to protect the job flow and prevent the Amazon EC2 instances in the cluster from shutting down due to API calls, user intervention, or job-flow error.

        Returns:
        A Boolean that indicates whether to protect the job flow and prevent the Amazon EC2 instances in the cluster from shutting down due to API calls, user intervention, or job-flow error.
      • withTerminationProtected

        public SetTerminationProtectionRequest withTerminationProtected​(Boolean terminationProtected)

        A Boolean that indicates whether to protect the job flow and prevent the Amazon EC2 instances in the cluster from shutting down due to API calls, user intervention, or job-flow error.

        Parameters:
        terminationProtected - A Boolean that indicates whether to protect the job flow and prevent the Amazon EC2 instances in the cluster from shutting down due to API calls, user intervention, or job-flow error.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • isTerminationProtected

        public Boolean isTerminationProtected()

        A Boolean that indicates whether to protect the job flow and prevent the Amazon EC2 instances in the cluster from shutting down due to API calls, user intervention, or job-flow error.

        Returns:
        A Boolean that indicates whether to protect the job flow and prevent the Amazon EC2 instances in the cluster from shutting down due to API calls, user intervention, or job-flow error.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object