public DescribeInstanceCreditSpecificationsResult withInstanceCreditSpecifications(InstanceCreditSpecification... instanceCreditSpecifications) {
        if (this.instanceCreditSpecifications == null) {
            setInstanceCreditSpecifications(new com.amazonaws.internal.SdkInternalList<InstanceCreditSpecification>(instanceCreditSpecifications.length));
        }
        for (InstanceCreditSpecification ele : instanceCreditSpecifications) {
            this.instanceCreditSpecifications.add(ele);
        }
        return this;
    }
public DescribeInstanceCreditSpecificationsResult withInstanceCreditSpecifications ( InstanceCreditSpecification ... instanceCreditSpecifications ) { if ( this . instanceCreditSpecifications == null ) { setInstanceCreditSpecifications ( new com . amazonaws . internal . SdkInternalList < InstanceCreditSpecification > ( instanceCreditSpecifications . length ) ) ; } for ( InstanceCreditSpecification ele : instanceCreditSpecifications ) { this . instanceCreditSpecifications . add ( ele ) ; } return this ; }
<p>
Information about the credit option for CPU usage of an instance.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setInstanceCreditSpecifications(java.util.Collection)} or
{@link #withInstanceCreditSpecifications(java.util.Collection)} if you want to override the existing values.
</p>

@param instanceCreditSpecifications
Information about the credit option for CPU usage of an instance.
@return Returns a reference to this object so that method calls can be chained together.