Class Environment

java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.discovery.v1.model.Environment
All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel

public class Environment
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Details about an environment.
  • Constructor Details

    • Environment

      public Environment()
  • Method Details

    • getEnvironmentId

      public String getEnvironmentId()
      Gets the environmentId.

      Unique identifier for the environment.

      Returns:
      the environmentId
    • getName

      public String getName()
      Gets the name.

      Name that identifies the environment.

      Returns:
      the name
    • getDescription

      public String getDescription()
      Gets the description.

      Description of the environment.

      Returns:
      the description
    • getCreated

      public Date getCreated()
      Gets the created.

      Creation date of the environment, in the format `yyyy-MM-dd'T'HH:mm:ss.SSS'Z'`.

      Returns:
      the created
    • getUpdated

      public Date getUpdated()
      Gets the updated.

      Date of most recent environment update, in the format `yyyy-MM-dd'T'HH:mm:ss.SSS'Z'`.

      Returns:
      the updated
    • getStatus

      public String getStatus()
      Gets the status.

      Current status of the environment. `resizing` is displayed when a request to increase the environment size has been made, but is still in the process of being completed.

      Returns:
      the status
    • isReadOnly

      public Boolean isReadOnly()
      Gets the readOnly.

      If `true`, the environment contains read-only collections that are maintained by IBM.

      Returns:
      the readOnly
    • getSize

      public String getSize()
      Gets the size.

      Current size of the environment.

      Returns:
      the size
    • getRequestedSize

      public String getRequestedSize()
      Gets the requestedSize.

      The new size requested for this environment. Only returned when the environment *status* is `resizing`.

      *Note:* Querying and indexing can still be performed during an environment upsize.

      Returns:
      the requestedSize
    • getIndexCapacity

      public IndexCapacity getIndexCapacity()
      Gets the indexCapacity.

      Details about the resource usage and capacity of the environment.

      Returns:
      the indexCapacity
    • getSearchStatus

      public SearchStatus getSearchStatus()
      Gets the searchStatus.

      Information about the Continuous Relevancy Training for this environment.

      Returns:
      the searchStatus