public CancelSpotFleetRequestsResult withUnsuccessfulFleetRequests(CancelSpotFleetRequestsErrorItem... unsuccessfulFleetRequests) {
        if (this.unsuccessfulFleetRequests == null) {
            setUnsuccessfulFleetRequests(new com.amazonaws.internal.SdkInternalList<CancelSpotFleetRequestsErrorItem>(unsuccessfulFleetRequests.length));
        }
        for (CancelSpotFleetRequestsErrorItem ele : unsuccessfulFleetRequests) {
            this.unsuccessfulFleetRequests.add(ele);
        }
        return this;
    }
public CancelSpotFleetRequestsResult withUnsuccessfulFleetRequests ( CancelSpotFleetRequestsErrorItem ... unsuccessfulFleetRequests ) { if ( this . unsuccessfulFleetRequests == null ) { setUnsuccessfulFleetRequests ( new com . amazonaws . internal . SdkInternalList < CancelSpotFleetRequestsErrorItem > ( unsuccessfulFleetRequests . length ) ) ; } for ( CancelSpotFleetRequestsErrorItem ele : unsuccessfulFleetRequests ) { this . unsuccessfulFleetRequests . add ( ele ) ; } return this ; }
<p>
Information about the Spot Fleet requests that are not successfully canceled.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setUnsuccessfulFleetRequests(java.util.Collection)} or
{@link #withUnsuccessfulFleetRequests(java.util.Collection)} if you want to override the existing values.
</p>

@param unsuccessfulFleetRequests
Information about the Spot Fleet requests that are not successfully canceled.
@return Returns a reference to this object so that method calls can be chained together.