Class CisRangeApplications
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.BaseService
-
- com.ibm.cloud.networking.cis_range_applications.v1.CisRangeApplications
-
public class CisRangeApplications extends com.ibm.cloud.sdk.core.service.BaseService
Range Applications.- Version:
- v1
-
-
Field Summary
Fields Modifier and Type Field Description static String
DEFAULT_SERVICE_NAME
static String
DEFAULT_SERVICE_URL
-
Constructor Summary
Constructors Constructor Description CisRangeApplications(String crn, String zoneIdentifier, String serviceName, com.ibm.cloud.sdk.core.security.Authenticator authenticator)
Constructs an instance of the `CisRangeApplications` client.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.ibm.cloud.sdk.core.http.ServiceCall<RangeApplicationResp>
createRangeApp(CreateRangeAppOptions createRangeAppOptions)
Create Range Application.com.ibm.cloud.sdk.core.http.ServiceCall<RangeApplicationResp>
deleteRangeApp(DeleteRangeAppOptions deleteRangeAppOptions)
Delete range application.String
getCrn()
Gets the crn.com.ibm.cloud.sdk.core.http.ServiceCall<RangeApplicationResp>
getRangeApp(GetRangeAppOptions getRangeAppOptions)
Get range application a zone.String
getZoneIdentifier()
Gets the zoneIdentifier.com.ibm.cloud.sdk.core.http.ServiceCall<RangeApplications>
listRangeApps()
List range applications.com.ibm.cloud.sdk.core.http.ServiceCall<RangeApplications>
listRangeApps(ListRangeAppsOptions listRangeAppsOptions)
List range applications.static CisRangeApplications
newInstance(String crn, String zoneIdentifier)
Class method which constructs an instance of the `CisRangeApplications` client.static CisRangeApplications
newInstance(String crn, String zoneIdentifier, String serviceName)
Class method which constructs an instance of the `CisRangeApplications` client.void
setCrn(String crn)
Sets the crn.void
setZoneIdentifier(String zoneIdentifier)
Sets the zoneIdentifier.com.ibm.cloud.sdk.core.http.ServiceCall<RangeApplicationResp>
updateRangeApp(UpdateRangeAppOptions updateRangeAppOptions)
Update range application.-
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
-
CisRangeApplications
public CisRangeApplications(String crn, String zoneIdentifier, String serviceName, com.ibm.cloud.sdk.core.security.Authenticator authenticator)
Constructs an instance of the `CisRangeApplications` client. The specified service name and authenticator are used to configure the client instance.- Parameters:
crn
- Full url-encoded cloud resource name (CRN) of resource instance.zoneIdentifier
- zone identifier.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 CisRangeApplications newInstance(String crn, String zoneIdentifier)
Class method which constructs an instance of the `CisRangeApplications` client. The default service name is used to configure the client instance.- Parameters:
crn
- Full url-encoded cloud resource name (CRN) of resource instance.zoneIdentifier
- zone identifier.- Returns:
- an instance of the `CisRangeApplications` client using external configuration
-
newInstance
public static CisRangeApplications newInstance(String crn, String zoneIdentifier, String serviceName)
Class method which constructs an instance of the `CisRangeApplications` client. The specified service name is used to configure the client instance.- Parameters:
crn
- Full url-encoded cloud resource name (CRN) of resource instance.zoneIdentifier
- zone identifier.serviceName
- the service name to be used when configuring the client instance- Returns:
- an instance of the `CisRangeApplications` client using external configuration
-
getCrn
public String getCrn()
Gets the crn. Full url-encoded cloud resource name (CRN) of resource instance.- Returns:
- the crn
-
setCrn
public void setCrn(String crn)
Sets the crn.- Parameters:
crn
- the new crn
-
getZoneIdentifier
public String getZoneIdentifier()
Gets the zoneIdentifier. zone identifier.- Returns:
- the zoneIdentifier
-
setZoneIdentifier
public void setZoneIdentifier(String zoneIdentifier)
Sets the zoneIdentifier.- Parameters:
zoneIdentifier
- the new zoneIdentifier
-
listRangeApps
public com.ibm.cloud.sdk.core.http.ServiceCall<RangeApplications> listRangeApps(ListRangeAppsOptions listRangeAppsOptions)
List range applications. Get a list of currently existing Range Applications inside a zone.- Parameters:
listRangeAppsOptions
- theListRangeAppsOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeRangeApplications
-
listRangeApps
public com.ibm.cloud.sdk.core.http.ServiceCall<RangeApplications> listRangeApps()
List range applications. Get a list of currently existing Range Applications inside a zone.- Returns:
- a
ServiceCall
with a result of typeRangeApplications
-
createRangeApp
public com.ibm.cloud.sdk.core.http.ServiceCall<RangeApplicationResp> createRangeApp(CreateRangeAppOptions createRangeAppOptions)
Create Range Application. Create a Range Applications inside a zone.- Parameters:
createRangeAppOptions
- theCreateRangeAppOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeRangeApplicationResp
-
getRangeApp
public com.ibm.cloud.sdk.core.http.ServiceCall<RangeApplicationResp> getRangeApp(GetRangeAppOptions getRangeAppOptions)
Get range application a zone. Get the application configuration of a specific application inside a zone.- Parameters:
getRangeAppOptions
- theGetRangeAppOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeRangeApplicationResp
-
updateRangeApp
public com.ibm.cloud.sdk.core.http.ServiceCall<RangeApplicationResp> updateRangeApp(UpdateRangeAppOptions updateRangeAppOptions)
Update range application. Update a Range Application inside a zone.- Parameters:
updateRangeAppOptions
- theUpdateRangeAppOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeRangeApplicationResp
-
deleteRangeApp
public com.ibm.cloud.sdk.core.http.ServiceCall<RangeApplicationResp> deleteRangeApp(DeleteRangeAppOptions deleteRangeAppOptions)
Delete range application. Delete a specific application configuration.- Parameters:
deleteRangeAppOptions
- theDeleteRangeAppOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeRangeApplicationResp
-
-