Class LogpushJobsApi


  • public class LogpushJobsApi
    extends com.ibm.cloud.sdk.core.service.BaseService
    CIS Logpush Jobs. API Version: 1.0.0
    • 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
    • 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 instance
        authenticator - the Authenticator instance 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()
        List logpush jobs. List configured logpush jobs for your domain.
        Returns:
        a ServiceCall with a result of type ListLogpushJobsResp
      • 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 ServiceCall with a result of type LogpushJobsResp
      • 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 - the UpdateLogpushJobV2Options containing the options for the call
        Returns:
        a ServiceCall with a result of type LogpushJobsResp
      • 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 ServiceCall with a result of type OwnershipChallengeResp
      • 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 ServiceCall with a result of type OwnershipChallengeValidateResult
      • 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 - the ListFieldsForDatasetV2Options containing the options for the call
        Returns:
        a ServiceCall with a result of type ListFieldsResp
      • 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 ServiceCall with a result of type ListFieldsResp
      • 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 ServiceCall with a result of type LogpushJobsResp
      • 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 - the GetLogsRetentionOptions containing the options for the call
        Returns:
        a ServiceCall with a result of type LogRetentionResp
      • 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 ServiceCall with a result of type LogRetentionResp
      • createLogRetention

        public com.ibm.cloud.sdk.core.http.ServiceCall<LogRetentionResp> createLogRetention()
        Update log retention. Update log retention flag for Logpull/Logpush.
        Returns:
        a ServiceCall with a result of type LogRetentionResp