public GetSecretValueResult withCreatedDate(java.util.Date createdDate) {
        setCreatedDate(createdDate);
        return this;
    }
<p>
The date and time that this version of the secret was created. If you don't specify which version in
<code>VersionId</code> or <code>VersionStage</code>, then Secrets Manager uses the <code>AWSCURRENT</code>
version.
</p>

@param createdDate
       The date and time that this version of the secret was created. If you don't specify which version in
       <code>VersionId</code> or <code>VersionStage</code>, then Secrets Manager uses the <code>AWSCURRENT</code>
       version.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-secretsmanager/src/main/java/com/amazonaws/services/secretsmanager/model/GetSecretValueResult.java