code: public InstanceAccessDetails withHostKeys(HostKeyAttributes... hostKeys) {
          if (this.hostKeys == null) {
              setHostKeys(new java.util.ArrayList<HostKeyAttributes>(hostKeys.length));
          }
          for (HostKeyAttributes ele : hostKeys) {
              this.hostKeys.add(ele);
          }
          return this;
      }
docs: <p>
  Describes the public SSH host keys or the RDP certificate.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setHostKeys(java.util.Collection)} or {@link #withHostKeys(java.util.Collection)} if you want to override
  the existing values.
  </p>
  
  @param hostKeys
  Describes the public SSH host keys or the RDP certificate.
  @return Returns a reference to this object so that method calls can be chained together.