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

        this.secrets = new java.util.ArrayList<AwsEcsTaskDefinitionContainerDefinitionsSecretsDetails>(secrets);
    }
<p>
The secrets to pass to the container.
</p>

@param secrets
       The secrets to pass to the container.
aws-java-sdk-securityhub/src/main/java/com/amazonaws/services/securityhub/model/AwsEcsTaskDefinitionContainerDefinitionsDetails.java