public class ScraperTargetRequest extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ScraperTargetRequest.TypeEnum
The type of the metrics to be parsed.
|
Modifier and Type | Field and Description |
---|---|
static String |
SERIALIZED_NAME_ALLOW_INSECURE |
static String |
SERIALIZED_NAME_BUCKET_I_D |
static String |
SERIALIZED_NAME_NAME |
static String |
SERIALIZED_NAME_ORG_I_D |
static String |
SERIALIZED_NAME_TYPE |
static String |
SERIALIZED_NAME_URL |
Constructor and Description |
---|
ScraperTargetRequest() |
Modifier and Type | Method and Description |
---|---|
ScraperTargetRequest |
allowInsecure(Boolean allowInsecure) |
ScraperTargetRequest |
bucketID(String bucketID) |
boolean |
equals(Object o) |
Boolean |
getAllowInsecure()
Skip TLS verification on endpoint.
|
String |
getBucketID()
The ID of the bucket to write to.
|
String |
getName()
The name of the scraper target.
|
String |
getOrgID()
The organization ID.
|
ScraperTargetRequest.TypeEnum |
getType()
The type of the metrics to be parsed.
|
String |
getUrl()
The URL of the metrics endpoint.
|
int |
hashCode() |
ScraperTargetRequest |
name(String name) |
ScraperTargetRequest |
orgID(String orgID) |
void |
setAllowInsecure(Boolean allowInsecure) |
void |
setBucketID(String bucketID) |
void |
setName(String name) |
void |
setOrgID(String orgID) |
void |
setUrl(String url) |
String |
toString() |
ScraperTargetRequest |
url(String url) |
public static final String SERIALIZED_NAME_NAME
public static final String SERIALIZED_NAME_TYPE
public static final String SERIALIZED_NAME_URL
public static final String SERIALIZED_NAME_ORG_I_D
public static final String SERIALIZED_NAME_BUCKET_I_D
public static final String SERIALIZED_NAME_ALLOW_INSECURE
public ScraperTargetRequest name(String name)
public String getName()
public void setName(String name)
public ScraperTargetRequest.TypeEnum getType()
public ScraperTargetRequest url(String url)
public String getUrl()
public void setUrl(String url)
public ScraperTargetRequest orgID(String orgID)
public String getOrgID()
public void setOrgID(String orgID)
public ScraperTargetRequest bucketID(String bucketID)
public String getBucketID()
public void setBucketID(String bucketID)
public ScraperTargetRequest allowInsecure(Boolean allowInsecure)
public Boolean getAllowInsecure()
public void setAllowInsecure(Boolean allowInsecure)
Copyright © 2018–2022 InfluxData, Inc.. All rights reserved.