code: public DescribeEnvironmentManagedActionsResult withManagedActions(ManagedAction... managedActions) {
          if (this.managedActions == null) {
              setManagedActions(new com.amazonaws.internal.SdkInternalList<ManagedAction>(managedActions.length));
          }
          for (ManagedAction ele : managedActions) {
              this.managedActions.add(ele);
          }
          return this;
      }
docs: <p>
  A list of upcoming and in-progress managed actions.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setManagedActions(java.util.Collection)} or {@link #withManagedActions(java.util.Collection)} if you want
  to override the existing values.
  </p>
  
  @param managedActions
  A list of upcoming and in-progress managed actions.
  @return Returns a reference to this object so that method calls can be chained together.