Package com.teracloud.streams.rest
Class Domain
java.lang.Object
com.teracloud.streams.rest.Element
com.teracloud.streams.rest.Domain
An object describing an Streams Domain
- Since:
- 1.8
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlong
Gets the time in milliseconds when this domain was created.Gets the user ID that created this instance.getId()
Gets the Streams unique identifier for this domain.Gets the status of the domain.Gets the ZooKeeper connection string for this domain.Methods inherited from class com.teracloud.streams.rest.Element
getStreamsConnection, refresh, toString
-
Constructor Details
-
Domain
public Domain()
-
-
Method Details
-
getCreationTime
public long getCreationTime()Gets the time in milliseconds when this domain was created.- Returns:
- the epoch time in milliseconds when the domain was created.
-
getCreationUser
Gets the user ID that created this instance.- Returns:
- the creation user ID
-
getId
Gets the Streams unique identifier for this domain.- Returns:
- the Streams unique identifier.
-
getStatus
Gets the status of the domain.- Returns:
- the instance status that contains one of the following values:
- running
- stopping
- stopped
- starting
- removing
- unknown
-
getZooKeeperConnectionString
Gets the ZooKeeper connection string for this domain.- Returns:
- ZooKeeper connection string for this domain.
-