Class CisIpApi
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.BaseService
-
- com.ibm.cloud.networking.cis_ip_api.v1.CisIpApi
-
public class CisIpApi extends com.ibm.cloud.sdk.core.service.BaseService
This document describes CIS IP API.- Version:
- v1
-
-
Field Summary
Fields Modifier and Type Field Description static String
DEFAULT_SERVICE_NAME
static String
DEFAULT_SERVICE_URL
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.ibm.cloud.sdk.core.http.ServiceCall<IpResponse>
listIps()
List of all IP addresses used by the CIS proxy.com.ibm.cloud.sdk.core.http.ServiceCall<IpResponse>
listIps(ListIpsOptions listIpsOptions)
List of all IP addresses used by the CIS proxy.static CisIpApi
newInstance()
Class method which constructs an instance of the `CisIpApi` client.static CisIpApi
newInstance(String serviceName)
Class method which constructs an instance of the `CisIpApi` client.-
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
- See Also:
- Constant Field Values
-
DEFAULT_SERVICE_URL
public static final String DEFAULT_SERVICE_URL
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CisIpApi
public CisIpApi(String serviceName, com.ibm.cloud.sdk.core.security.Authenticator authenticator)
Constructs an instance of the `CisIpApi` client. The specified service name and authenticator are used to configure the client instance.- Parameters:
serviceName
- the service name to be used when configuring the client instanceauthenticator
- theAuthenticator
instance to be configured for this client
-
-
Method Detail
-
newInstance
public static CisIpApi newInstance()
Class method which constructs an instance of the `CisIpApi` client. The default service name is used to configure the client instance.- Returns:
- an instance of the `CisIpApi` client using external configuration
-
newInstance
public static CisIpApi newInstance(String serviceName)
Class method which constructs an instance of the `CisIpApi` client. The specified service name is used to configure the client instance.- Parameters:
serviceName
- the service name to be used when configuring the client instance- Returns:
- an instance of the `CisIpApi` client using external configuration
-
listIps
public com.ibm.cloud.sdk.core.http.ServiceCall<IpResponse> listIps(ListIpsOptions listIpsOptions)
List of all IP addresses used by the CIS proxy. List of all IP addresses used by the CIS proxy.- Parameters:
listIpsOptions
- theListIpsOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeIpResponse
-
listIps
public com.ibm.cloud.sdk.core.http.ServiceCall<IpResponse> listIps()
List of all IP addresses used by the CIS proxy. List of all IP addresses used by the CIS proxy.- Returns:
- a
ServiceCall
with a result of typeIpResponse
-
-