public void setTerminationProtected(Boolean terminationProtected) {
        this.terminationProtected = terminationProtected;
    }
<p>
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.
</p>

@param 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.
aws-java-sdk-emr/src/main/java/com/amazonaws/services/elasticmapreduce/model/Cluster.java