public SetStatusRequest withObjectIds(String... objectIds) {
        if (this.objectIds == null) {
            setObjectIds(new com.amazonaws.internal.SdkInternalList<String>(objectIds.length));
        }
        for (String ele : objectIds) {
            this.objectIds.add(ele);
        }
        return this;
    }
public SetStatusRequest withObjectIds ( String ... objectIds ) { if ( this . objectIds == null ) { setObjectIds ( new com . amazonaws . internal . SdkInternalList < String > ( objectIds . length ) ) ; } for ( String ele : objectIds ) { this . objectIds . add ( ele ) ; } return this ; }
<p>
The IDs of the objects. The corresponding objects can be either physical or components, but not a mix of both
types.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setObjectIds(java.util.Collection)} or {@link #withObjectIds(java.util.Collection)} if you want to
override the existing values.
</p>

@param objectIds
The IDs of the objects. The corresponding objects can be either physical or components, but not a mix of
both types.
@return Returns a reference to this object so that method calls can be chained together.