public Resource withProperties(ResourceProperty... properties) {
        if (this.properties == null) {
            setProperties(new java.util.ArrayList<ResourceProperty>(properties.length));
        }
        for (ResourceProperty ele : properties) {
            this.properties.add(ele);
        }
        return this;
    }
<p>
A structure with additional type-specific details about the resource. These properties can be added by turning on
integration between Resource Explorer and other Amazon Web Services services.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setProperties(java.util.Collection)} or {@link #withProperties(java.util.Collection)} if you want to
override the existing values.
</p>

@param properties
       A structure with additional type-specific details about the resource. These properties can be added by
       turning on integration between Resource Explorer and other Amazon Web Services services.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-resourceexplorer2/src/main/java/com/amazonaws/services/resourceexplorer2/model/Resource.java