public void setSecrets(java.util.Collection<Secret> secrets) {
        if (secrets == null) {
            this.secrets = null;
            return;
        }

        this.secrets = new java.util.ArrayList<Secret>(secrets);
    }
<p>
The secrets to pass to the container. For more information, see <a
href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/specifying-sensitive-data.html">Specifying
Sensitive Data</a> in the Amazon Elastic Container Service Developer Guide.
</p>

@param secrets
       The secrets to pass to the container. For more information, see <a
       href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/specifying-sensitive-data.html"
       >Specifying Sensitive Data</a> in the Amazon Elastic Container Service Developer Guide.
aws-java-sdk-batch/src/main/java/com/amazonaws/services/batch/model/TaskContainerProperties.java