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

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