code: public DescribeImagePermissionsResult withSharedImagePermissionsList(SharedImagePermissions... sharedImagePermissionsList) {
          if (this.sharedImagePermissionsList == null) {
              setSharedImagePermissionsList(new java.util.ArrayList<SharedImagePermissions>(sharedImagePermissionsList.length));
          }
          for (SharedImagePermissions ele : sharedImagePermissionsList) {
              this.sharedImagePermissionsList.add(ele);
          }
          return this;
      }
docs: <p>
  The permissions for a private image that you own.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setSharedImagePermissionsList(java.util.Collection)} or
  {@link #withSharedImagePermissionsList(java.util.Collection)} if you want to override the existing values.
  </p>
  
  @param sharedImagePermissionsList
  The permissions for a private image that you own.
  @return Returns a reference to this object so that method calls can be chained together.