public SubjectDetail withInstanceProperties(InstanceProperty... instanceProperties) {
        if (this.instanceProperties == null) {
            setInstanceProperties(new java.util.ArrayList<InstanceProperty>(instanceProperties.length));
        }
        for (InstanceProperty ele : instanceProperties) {
            this.instanceProperties.add(ele);
        }
        return this;
    }
<p>
The specified instance properties associated with the request.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setInstanceProperties(java.util.Collection)} or {@link #withInstanceProperties(java.util.Collection)} if
you want to override the existing values.
</p>

@param instanceProperties
       The specified instance properties associated with the request.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-iamrolesanywhere/src/main/java/com/amazonaws/services/iamrolesanywhere/model/SubjectDetail.java