code: public ResourcePendingMaintenanceActions withPendingMaintenanceActionDetails(PendingMaintenanceAction... pendingMaintenanceActionDetails) {
          if (this.pendingMaintenanceActionDetails == null) {
              setPendingMaintenanceActionDetails(new java.util.ArrayList<PendingMaintenanceAction>(pendingMaintenanceActionDetails.length));
          }
          for (PendingMaintenanceAction ele : pendingMaintenanceActionDetails) {
              this.pendingMaintenanceActionDetails.add(ele);
          }
          return this;
      }
docs: <p>
  A list that provides details about the pending maintenance actions for the resource.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setPendingMaintenanceActionDetails(java.util.Collection)} or
  {@link #withPendingMaintenanceActionDetails(java.util.Collection)} if you want to override the existing values.
  </p>
  
  @param pendingMaintenanceActionDetails
  A list that provides details about the pending maintenance actions for the resource.
  @return Returns a reference to this object so that method calls can be chained together.