Class LogpushJobsApi
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.BaseService
-
- com.ibm.cloud.networking.logpush_jobs_api.v1.LogpushJobsApi
-
public class LogpushJobsApi extends com.ibm.cloud.sdk.core.service.BaseServiceCIS Logpush Jobs. API Version: 1.0.0
-
-
Field Summary
Fields Modifier and Type Field Description static StringDEFAULT_SERVICE_NAMEDefault service name used when configuring the `LogpushJobsApi` client.static StringDEFAULT_SERVICE_URLDefault service endpoint URL.
-
Constructor Summary
Constructors Constructor Description LogpushJobsApi(String crn, String dataset, String zoneId, String serviceName, com.ibm.cloud.sdk.core.security.Authenticator authenticator)Constructs an instance of the `LogpushJobsApi` client.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.ibm.cloud.sdk.core.http.ServiceCall<LogpushJobsResp>createLogpushJobV2()Create a logpush jobs.com.ibm.cloud.sdk.core.http.ServiceCall<LogpushJobsResp>createLogpushJobV2(CreateLogpushJobV2Options createLogpushJobV2Options)Create a logpush jobs.com.ibm.cloud.sdk.core.http.ServiceCall<LogRetentionResp>createLogRetention()Update log retention.com.ibm.cloud.sdk.core.http.ServiceCall<LogRetentionResp>createLogRetention(CreateLogRetentionOptions createLogRetentionOptions)Update log retention.com.ibm.cloud.sdk.core.http.ServiceCall<DeleteLogpushJobResp>deleteLogpushJobV2(DeleteLogpushJobV2Options deleteLogpushJobV2Options)Delete a logpush job.StringgetCrn()Gets the crn.StringgetDataset()Gets the dataset.com.ibm.cloud.sdk.core.http.ServiceCall<ListLogpushJobsResp>getLogpushJobsV2()List logpush jobs.com.ibm.cloud.sdk.core.http.ServiceCall<ListLogpushJobsResp>getLogpushJobsV2(GetLogpushJobsV2Options getLogpushJobsV2Options)List logpush jobs.com.ibm.cloud.sdk.core.http.ServiceCall<LogpushJobsResp>getLogpushJobV2(GetLogpushJobV2Options getLogpushJobV2Options)Get a logpush job.com.ibm.cloud.sdk.core.http.ServiceCall<OwnershipChallengeResp>getLogpushOwnershipV2()Get a new ownership challenge sent to your destination.com.ibm.cloud.sdk.core.http.ServiceCall<OwnershipChallengeResp>getLogpushOwnershipV2(GetLogpushOwnershipV2Options getLogpushOwnershipV2Options)Get a new ownership challenge sent to your destination.com.ibm.cloud.sdk.core.http.ServiceCall<LogRetentionResp>getLogsRetention()Get log retention.com.ibm.cloud.sdk.core.http.ServiceCall<LogRetentionResp>getLogsRetention(GetLogsRetentionOptions getLogsRetentionOptions)Get log retention.StringgetZoneId()Gets the zoneId.com.ibm.cloud.sdk.core.http.ServiceCall<ListFieldsResp>listFieldsForDatasetV2()The list of all fields available for a dataset.com.ibm.cloud.sdk.core.http.ServiceCall<ListFieldsResp>listFieldsForDatasetV2(ListFieldsForDatasetV2Options listFieldsForDatasetV2Options)The list of all fields available for a dataset.com.ibm.cloud.sdk.core.http.ServiceCall<LogpushJobsResp>listLogpushJobsForDatasetV2()List logpush jobs for dataset.com.ibm.cloud.sdk.core.http.ServiceCall<LogpushJobsResp>listLogpushJobsForDatasetV2(ListLogpushJobsForDatasetV2Options listLogpushJobsForDatasetV2Options)List logpush jobs for dataset.static LogpushJobsApinewInstance(String crn, String dataset, String zoneId)Class method which constructs an instance of the `LogpushJobsApi` client.static LogpushJobsApinewInstance(String crn, String dataset, String zoneId, String serviceName)Class method which constructs an instance of the `LogpushJobsApi` client.voidsetCrn(String crn)Sets the crn.voidsetDataset(String dataset)Sets the dataset.voidsetZoneId(String zoneId)Sets the zoneId.com.ibm.cloud.sdk.core.http.ServiceCall<LogpushJobsResp>updateLogpushJobV2(UpdateLogpushJobV2Options updateLogpushJobV2Options)Update a logpush job.com.ibm.cloud.sdk.core.http.ServiceCall<OwnershipChallengeValidateResult>validateLogpushOwnershipChallengeV2()Validate ownership challenge of the destination.com.ibm.cloud.sdk.core.http.ServiceCall<OwnershipChallengeValidateResult>validateLogpushOwnershipChallengeV2(ValidateLogpushOwnershipChallengeV2Options validateLogpushOwnershipChallengeV2Options)Validate ownership challenge of the destination.-
Methods inherited from class com.ibm.cloud.sdk.core.service.BaseService
configureClient, configureService, constructServiceUrl, constructServiceURL, disableRetries, enableGzipCompression, enableRetries, getAuthenticator, getClient, getDefaultHeaders, getEndPoint, getName, getServiceUrl, isJsonMimeType, isJsonPatchMimeType, setClient, setDefaultHeaders, setEndPoint, setServiceUrl, toString
-
-
-
-
Field Detail
-
DEFAULT_SERVICE_NAME
public static final String DEFAULT_SERVICE_NAME
Default service name used when configuring the `LogpushJobsApi` client.- See Also:
- Constant Field Values
-
DEFAULT_SERVICE_URL
public static final String DEFAULT_SERVICE_URL
Default service endpoint URL.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
LogpushJobsApi
public LogpushJobsApi(String crn, String dataset, String zoneId, String serviceName, com.ibm.cloud.sdk.core.security.Authenticator authenticator)
Constructs an instance of the `LogpushJobsApi` client. The specified service name and authenticator are used to configure the client instance.- Parameters:
crn- Full URL-encoded CRN of the service instance.dataset- The dataset.zoneId- Zone identifier.serviceName- the service name to be used when configuring the client instanceauthenticator- theAuthenticatorinstance to be configured for this client
-
-
Method Detail
-
newInstance
public static LogpushJobsApi newInstance(String crn, String dataset, String zoneId)
Class method which constructs an instance of the `LogpushJobsApi` client. The default service name is used to configure the client instance.- Parameters:
crn- Full URL-encoded CRN of the service instance.dataset- The dataset.zoneId- Zone identifier.- Returns:
- an instance of the `LogpushJobsApi` client using external configuration
-
newInstance
public static LogpushJobsApi newInstance(String crn, String dataset, String zoneId, String serviceName)
Class method which constructs an instance of the `LogpushJobsApi` client. The specified service name is used to configure the client instance.- Parameters:
crn- Full URL-encoded CRN of the service instance.dataset- The dataset.zoneId- Zone identifier.serviceName- the service name to be used when configuring the client instance- Returns:
- an instance of the `LogpushJobsApi` client using external configuration
-
getCrn
public String getCrn()
Gets the crn. Full URL-encoded CRN of the service instance.- Returns:
- the crn
-
setCrn
public void setCrn(String crn)
Sets the crn.- Parameters:
crn- the new crn
-
getDataset
public String getDataset()
Gets the dataset. The dataset.- Returns:
- the dataset
-
setDataset
public void setDataset(String dataset)
Sets the dataset.- Parameters:
dataset- the new dataset
-
getZoneId
public String getZoneId()
Gets the zoneId. Zone identifier.- Returns:
- the zoneId
-
setZoneId
public void setZoneId(String zoneId)
Sets the zoneId.- Parameters:
zoneId- the new zoneId
-
getLogpushJobsV2
public com.ibm.cloud.sdk.core.http.ServiceCall<ListLogpushJobsResp> getLogpushJobsV2(GetLogpushJobsV2Options getLogpushJobsV2Options)
List logpush jobs. List configured logpush jobs for your domain.- Parameters:
getLogpushJobsV2Options- theGetLogpushJobsV2Optionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeListLogpushJobsResp
-
getLogpushJobsV2
public com.ibm.cloud.sdk.core.http.ServiceCall<ListLogpushJobsResp> getLogpushJobsV2()
List logpush jobs. List configured logpush jobs for your domain.- Returns:
- a
ServiceCallwith a result of typeListLogpushJobsResp
-
createLogpushJobV2
public com.ibm.cloud.sdk.core.http.ServiceCall<LogpushJobsResp> createLogpushJobV2(CreateLogpushJobV2Options createLogpushJobV2Options)
Create a logpush jobs. Create a new logpush job for the domain.- Parameters:
createLogpushJobV2Options- theCreateLogpushJobV2Optionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeLogpushJobsResp
-
createLogpushJobV2
public com.ibm.cloud.sdk.core.http.ServiceCall<LogpushJobsResp> createLogpushJobV2()
Create a logpush jobs. Create a new logpush job for the domain.- Returns:
- a
ServiceCallwith a result of typeLogpushJobsResp
-
getLogpushJobV2
public com.ibm.cloud.sdk.core.http.ServiceCall<LogpushJobsResp> getLogpushJobV2(GetLogpushJobV2Options getLogpushJobV2Options)
Get a logpush job. Get a logpush job for a given zone.- Parameters:
getLogpushJobV2Options- theGetLogpushJobV2Optionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeLogpushJobsResp
-
updateLogpushJobV2
public com.ibm.cloud.sdk.core.http.ServiceCall<LogpushJobsResp> updateLogpushJobV2(UpdateLogpushJobV2Options updateLogpushJobV2Options)
Update a logpush job. Update an existing logpush job for a given zone.- Parameters:
updateLogpushJobV2Options- theUpdateLogpushJobV2Optionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeLogpushJobsResp
-
deleteLogpushJobV2
public com.ibm.cloud.sdk.core.http.ServiceCall<DeleteLogpushJobResp> deleteLogpushJobV2(DeleteLogpushJobV2Options deleteLogpushJobV2Options)
Delete a logpush job. Delete a logpush job for a zone.- Parameters:
deleteLogpushJobV2Options- theDeleteLogpushJobV2Optionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeDeleteLogpushJobResp
-
getLogpushOwnershipV2
public com.ibm.cloud.sdk.core.http.ServiceCall<OwnershipChallengeResp> getLogpushOwnershipV2(GetLogpushOwnershipV2Options getLogpushOwnershipV2Options)
Get a new ownership challenge sent to your destination. Get a new ownership challenge.- Parameters:
getLogpushOwnershipV2Options- theGetLogpushOwnershipV2Optionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeOwnershipChallengeResp
-
getLogpushOwnershipV2
public com.ibm.cloud.sdk.core.http.ServiceCall<OwnershipChallengeResp> getLogpushOwnershipV2()
Get a new ownership challenge sent to your destination. Get a new ownership challenge.- Returns:
- a
ServiceCallwith a result of typeOwnershipChallengeResp
-
validateLogpushOwnershipChallengeV2
public com.ibm.cloud.sdk.core.http.ServiceCall<OwnershipChallengeValidateResult> validateLogpushOwnershipChallengeV2(ValidateLogpushOwnershipChallengeV2Options validateLogpushOwnershipChallengeV2Options)
Validate ownership challenge of the destination. Validate ownership challenge of the destination.- Parameters:
validateLogpushOwnershipChallengeV2Options- theValidateLogpushOwnershipChallengeV2Optionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeOwnershipChallengeValidateResult
-
validateLogpushOwnershipChallengeV2
public com.ibm.cloud.sdk.core.http.ServiceCall<OwnershipChallengeValidateResult> validateLogpushOwnershipChallengeV2()
Validate ownership challenge of the destination. Validate ownership challenge of the destination.- Returns:
- a
ServiceCallwith a result of typeOwnershipChallengeValidateResult
-
listFieldsForDatasetV2
public com.ibm.cloud.sdk.core.http.ServiceCall<ListFieldsResp> listFieldsForDatasetV2(ListFieldsForDatasetV2Options listFieldsForDatasetV2Options)
The list of all fields available for a dataset. The list of all fields available for a dataset.- Parameters:
listFieldsForDatasetV2Options- theListFieldsForDatasetV2Optionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeListFieldsResp
-
listFieldsForDatasetV2
public com.ibm.cloud.sdk.core.http.ServiceCall<ListFieldsResp> listFieldsForDatasetV2()
The list of all fields available for a dataset. The list of all fields available for a dataset.- Returns:
- a
ServiceCallwith a result of typeListFieldsResp
-
listLogpushJobsForDatasetV2
public com.ibm.cloud.sdk.core.http.ServiceCall<LogpushJobsResp> listLogpushJobsForDatasetV2(ListLogpushJobsForDatasetV2Options listLogpushJobsForDatasetV2Options)
List logpush jobs for dataset. List configured logpush jobs for a dataset.- Parameters:
listLogpushJobsForDatasetV2Options- theListLogpushJobsForDatasetV2Optionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeLogpushJobsResp
-
listLogpushJobsForDatasetV2
public com.ibm.cloud.sdk.core.http.ServiceCall<LogpushJobsResp> listLogpushJobsForDatasetV2()
List logpush jobs for dataset. List configured logpush jobs for a dataset.- Returns:
- a
ServiceCallwith a result of typeLogpushJobsResp
-
getLogsRetention
public com.ibm.cloud.sdk.core.http.ServiceCall<LogRetentionResp> getLogsRetention(GetLogsRetentionOptions getLogsRetentionOptions)
Get log retention. Get log retention setting for Logpull/Logpush on your domain.- Parameters:
getLogsRetentionOptions- theGetLogsRetentionOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeLogRetentionResp
-
getLogsRetention
public com.ibm.cloud.sdk.core.http.ServiceCall<LogRetentionResp> getLogsRetention()
Get log retention. Get log retention setting for Logpull/Logpush on your domain.- Returns:
- a
ServiceCallwith a result of typeLogRetentionResp
-
createLogRetention
public com.ibm.cloud.sdk.core.http.ServiceCall<LogRetentionResp> createLogRetention(CreateLogRetentionOptions createLogRetentionOptions)
Update log retention. Update log retention flag for Logpull/Logpush.- Parameters:
createLogRetentionOptions- theCreateLogRetentionOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeLogRetentionResp
-
createLogRetention
public com.ibm.cloud.sdk.core.http.ServiceCall<LogRetentionResp> createLogRetention()
Update log retention. Update log retention flag for Logpull/Logpush.- Returns:
- a
ServiceCallwith a result of typeLogRetentionResp
-
-