public void setInCluster(Boolean inCluster) {
        this.inCluster = inCluster;
    }
<p>
When set to <code>true</code>, it indicates that data communication among the broker nodes of the cluster is
encrypted. When set to <code>false</code>, the communication happens in plain text. The default value is
<code>true</code>.
</p>

@param inCluster
       When set to <code>true</code>, it indicates that data communication among the broker nodes of the cluster
       is encrypted. When set to <code>false</code>, the communication happens in plain text. The default value
       is <code>true</code>.
aws-java-sdk-securityhub/src/main/java/com/amazonaws/services/securityhub/model/AwsMskClusterClusterInfoEncryptionInfoEncryptionInTransitDetails.java