public BatchCreateObject withSchemaFacet(SchemaFacet... schemaFacet) {
        if (this.schemaFacet == null) {
            setSchemaFacet(new java.util.ArrayList<SchemaFacet>(schemaFacet.length));
        }
        for (SchemaFacet ele : schemaFacet) {
            this.schemaFacet.add(ele);
        }
        return this;
    }
<p>
A list of <code>FacetArns</code> that will be associated with the object. For more information, see <a>arns</a>.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setSchemaFacet(java.util.Collection)} or {@link #withSchemaFacet(java.util.Collection)} if you want to
override the existing values.
</p>

@param schemaFacet
       A list of <code>FacetArns</code> that will be associated with the object. For more information, see
       <a>arns</a>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-clouddirectory/src/main/java/com/amazonaws/services/clouddirectory/model/BatchCreateObject.java