public class Environment
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static interface |
Environment.Size
Current size of the environment.
|
static interface |
Environment.Status
Current status of the environment.
|
Modifier and Type | Field and Description |
---|---|
protected java.util.Date |
created |
protected java.lang.String |
description |
protected java.lang.String |
environmentId |
protected IndexCapacity |
indexCapacity |
protected java.lang.String |
name |
protected java.lang.Boolean |
readOnly |
protected java.lang.String |
requestedSize |
protected SearchStatus |
searchStatus |
protected java.lang.String |
size |
protected java.lang.String |
status |
protected java.util.Date |
updated |
Constructor and Description |
---|
Environment() |
Modifier and Type | Method and Description |
---|---|
java.util.Date |
getCreated()
Gets the created.
|
java.lang.String |
getDescription()
Gets the description.
|
java.lang.String |
getEnvironmentId()
Gets the environmentId.
|
IndexCapacity |
getIndexCapacity()
Gets the indexCapacity.
|
java.lang.String |
getName()
Gets the name.
|
java.lang.String |
getRequestedSize()
Gets the requestedSize.
|
SearchStatus |
getSearchStatus()
Gets the searchStatus.
|
java.lang.String |
getSize()
Gets the size.
|
java.lang.String |
getStatus()
Gets the status.
|
java.util.Date |
getUpdated()
Gets the updated.
|
java.lang.Boolean |
isReadOnly()
Gets the readOnly.
|
@SerializedName(value="environment_id") protected java.lang.String environmentId
protected java.lang.String name
protected java.lang.String description
protected java.util.Date created
protected java.util.Date updated
protected java.lang.String status
@SerializedName(value="read_only") protected java.lang.Boolean readOnly
protected java.lang.String size
@SerializedName(value="requested_size") protected java.lang.String requestedSize
@SerializedName(value="index_capacity") protected IndexCapacity indexCapacity
@SerializedName(value="search_status") protected SearchStatus searchStatus
public java.lang.String getEnvironmentId()
Unique identifier for the environment.
public java.lang.String getName()
Name that identifies the environment.
public java.lang.String getDescription()
Description of the environment.
public java.util.Date getCreated()
Creation date of the environment, in the format `yyyy-MM-dd'T'HH:mm:ss.SSS'Z'`.
public java.util.Date getUpdated()
Date of most recent environment update, in the format `yyyy-MM-dd'T'HH:mm:ss.SSS'Z'`.
public java.lang.String getStatus()
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.
public java.lang.Boolean isReadOnly()
If `true`, the environment contains read-only collections that are maintained by IBM.
public java.lang.String getSize()
Current size of the environment.
public java.lang.String getRequestedSize()
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.
public IndexCapacity getIndexCapacity()
Details about the resource usage and capacity of the environment.
public SearchStatus getSearchStatus()
Information about the Continuous Relevancy Training for this environment.