public AwsEcsTaskDefinitionContainerDefinitionsDetails withSecrets(java.util.Collection<AwsEcsTaskDefinitionContainerDefinitionsSecretsDetails> secrets) {
        setSecrets(secrets);
        return this;
    }
<p>
The secrets to pass to the container.
</p>

@param secrets
       The secrets to pass to the container.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-securityhub/src/main/java/com/amazonaws/services/securityhub/model/AwsEcsTaskDefinitionContainerDefinitionsDetails.java