Class Routing
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.BaseService
-
- com.ibm.cloud.networking.routing.v1.Routing
-
public class Routing extends com.ibm.cloud.sdk.core.service.BaseService
Routing.- 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 String
getCrn()
Gets the crn.com.ibm.cloud.sdk.core.http.ServiceCall<SmartRoutingResp>
getSmartRouting()
Get Routing feature smart routing setting.com.ibm.cloud.sdk.core.http.ServiceCall<SmartRoutingResp>
getSmartRouting(GetSmartRoutingOptions getSmartRoutingOptions)
Get Routing feature smart routing setting.String
getZoneIdentifier()
Gets the zoneIdentifier.static Routing
newInstance(String crn, String zoneIdentifier)
Class method which constructs an instance of the `Routing` client.static Routing
newInstance(String crn, String zoneIdentifier, String serviceName)
Class method which constructs an instance of the `Routing` client.void
setCrn(String crn)
Sets the crn.void
setZoneIdentifier(String zoneIdentifier)
Sets the zoneIdentifier.com.ibm.cloud.sdk.core.http.ServiceCall<SmartRoutingResp>
updateSmartRouting()
Update Routing feature smart route setting.com.ibm.cloud.sdk.core.http.ServiceCall<SmartRoutingResp>
updateSmartRouting(UpdateSmartRoutingOptions updateSmartRoutingOptions)
Update Routing feature smart route setting.-
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
-
Routing
public Routing(String crn, String zoneIdentifier, String serviceName, com.ibm.cloud.sdk.core.security.Authenticator authenticator)
Constructs an instance of the `Routing` 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 Routing newInstance(String crn, String zoneIdentifier)
Class method which constructs an instance of the `Routing` 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 `Routing` client using external configuration
-
newInstance
public static Routing newInstance(String crn, String zoneIdentifier, String serviceName)
Class method which constructs an instance of the `Routing` 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 `Routing` 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
-
getSmartRouting
public com.ibm.cloud.sdk.core.http.ServiceCall<SmartRoutingResp> getSmartRouting(GetSmartRoutingOptions getSmartRoutingOptions)
Get Routing feature smart routing setting. Get Routing feature smart routing setting for a zone.- Parameters:
getSmartRoutingOptions
- theGetSmartRoutingOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeSmartRoutingResp
-
getSmartRouting
public com.ibm.cloud.sdk.core.http.ServiceCall<SmartRoutingResp> getSmartRouting()
Get Routing feature smart routing setting. Get Routing feature smart routing setting for a zone.- Returns:
- a
ServiceCall
with a result of typeSmartRoutingResp
-
updateSmartRouting
public com.ibm.cloud.sdk.core.http.ServiceCall<SmartRoutingResp> updateSmartRouting(UpdateSmartRoutingOptions updateSmartRoutingOptions)
Update Routing feature smart route setting. Update Routing feature smart route setting for a zone.- Parameters:
updateSmartRoutingOptions
- theUpdateSmartRoutingOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeSmartRoutingResp
-
updateSmartRouting
public com.ibm.cloud.sdk.core.http.ServiceCall<SmartRoutingResp> updateSmartRouting()
Update Routing feature smart route setting. Update Routing feature smart route setting for a zone.- Returns:
- a
ServiceCall
with a result of typeSmartRoutingResp
-
-