public class DBRP extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
SERIALIZED_NAME_BUCKET_I_D |
static String |
SERIALIZED_NAME_DATABASE |
static String |
SERIALIZED_NAME_DEFAULT |
static String |
SERIALIZED_NAME_ID |
static String |
SERIALIZED_NAME_LINKS |
static String |
SERIALIZED_NAME_ORG_I_D |
static String |
SERIALIZED_NAME_RETENTION_POLICY |
| Constructor and Description |
|---|
DBRP() |
| Modifier and Type | Method and Description |
|---|---|
DBRP |
_default(Boolean _default) |
DBRP |
bucketID(String bucketID) |
DBRP |
database(String database) |
boolean |
equals(Object o) |
String |
getBucketID()
ID of the bucket used as the target for the translation.
|
String |
getDatabase()
InfluxDB v1 database
|
Boolean |
getDefault()
Mapping represents the default retention policy for the database specified.
|
String |
getId()
ID of the DBRP mapping.
|
Links |
getLinks()
Get links
|
String |
getOrgID()
ID of the organization that owns this mapping.
|
String |
getRetentionPolicy()
InfluxDB v1 retention policy
|
int |
hashCode() |
DBRP |
links(Links links) |
DBRP |
orgID(String orgID) |
DBRP |
retentionPolicy(String retentionPolicy) |
void |
setBucketID(String bucketID) |
void |
setDatabase(String database) |
void |
setDefault(Boolean _default) |
void |
setLinks(Links links) |
void |
setOrgID(String orgID) |
void |
setRetentionPolicy(String retentionPolicy) |
String |
toString() |
public static final String SERIALIZED_NAME_ID
public static final String SERIALIZED_NAME_ORG_I_D
public static final String SERIALIZED_NAME_BUCKET_I_D
public static final String SERIALIZED_NAME_DATABASE
public static final String SERIALIZED_NAME_RETENTION_POLICY
public static final String SERIALIZED_NAME_DEFAULT
public static final String SERIALIZED_NAME_LINKS
public String getId()
public String getOrgID()
public void setOrgID(String orgID)
public String getBucketID()
public void setBucketID(String bucketID)
public String getDatabase()
public void setDatabase(String database)
public String getRetentionPolicy()
public void setRetentionPolicy(String retentionPolicy)
public Boolean getDefault()
public void setDefault(Boolean _default)
public Links getLinks()
public void setLinks(Links links)
Copyright © 2018–2023 InfluxData, Inc.. All rights reserved.