@InterfaceAudience.Public @InterfaceStability.Evolving public class TimelineDomain extends Object
This class contains the information about a timeline service domain, which is used to a user to host a number of timeline entities, isolating them from others'. The user can also define the reader and writer users/groups for the domain, which is used to control the access to its entities.
The reader and writer users/groups pattern that the user can supply is the
same as what AccessControlList
takes.
Constructor and Description |
---|
TimelineDomain() |
Modifier and Type | Method and Description |
---|---|
Long |
getCreatedTime()
Get the created time of the domain.
|
String |
getDescription()
Get the domain description.
|
String |
getId()
Get the domain ID.
|
Long |
getModifiedTime()
Get the modified time of the domain.
|
String |
getOwner()
Get the domain owner.
|
String |
getReaders()
Get the reader (and/or reader group) list string.
|
String |
getWriters()
Get the writer (and/or writer group) list string.
|
void |
setCreatedTime(Long createdTime)
Set the created time of the domain.
|
void |
setDescription(String description)
Set the domain description.
|
void |
setId(String id)
Set the domain ID.
|
void |
setModifiedTime(Long modifiedTime)
Set the modified time of the domain.
|
void |
setOwner(String owner)
Set the domain owner.
|
void |
setReaders(String readers)
Set the reader (and/or reader group) list string.
|
void |
setWriters(String writers)
Set the writer (and/or writer group) list string.
|
public String getId()
public void setId(String id)
id
- the domain IDpublic String getDescription()
public void setDescription(String description)
description
- the domain descriptionpublic String getOwner()
public void setOwner(String owner)
owner
- the domain ownerpublic String getReaders()
public void setReaders(String readers)
readers
- the reader (and/or reader group) list stringpublic String getWriters()
public void setWriters(String writers)
writers
- the writer (and/or writer group) list stringpublic Long getCreatedTime()
public void setCreatedTime(Long createdTime)
createdTime
- the created time of the domainpublic Long getModifiedTime()
public void setModifiedTime(Long modifiedTime)
modifiedTime
- the modified time of the domainCopyright © 2024 Apache Software Foundation. All rights reserved.