public Component withDateCreated(String dateCreated) {
        setDateCreated(dateCreated);
        return this;
    }
<p>
The date that Image Builder created the component.
</p>

@param dateCreated
       The date that Image Builder created the component.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-imagebuilder/src/main/java/com/amazonaws/services/imagebuilder/model/Component.java