Class CustomPages
- java.lang.Object
- 
- com.ibm.cloud.sdk.core.service.BaseService
- 
- com.ibm.cloud.networking.custom_pages.v1.CustomPages
 
 
- 
 public class CustomPages extends com.ibm.cloud.sdk.core.service.BaseServiceCustom Pages.- Version:
- v1
 
- 
- 
Field SummaryFields Modifier and Type Field Description static StringDEFAULT_SERVICE_NAMEstatic StringDEFAULT_SERVICE_URL
 - 
Constructor SummaryConstructors Constructor Description CustomPages(String crn, String zoneIdentifier, String serviceName, com.ibm.cloud.sdk.core.security.Authenticator authenticator)Constructs an instance of the `CustomPages` client.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCrn()Gets the crn.com.ibm.cloud.sdk.core.http.ServiceCall<CustomPageSpecificResp>getInstanceCustomPage(GetInstanceCustomPageOptions getInstanceCustomPageOptions)Get a custom page for a given instance.com.ibm.cloud.sdk.core.http.ServiceCall<CustomPageSpecificResp>getZoneCustomPage(GetZoneCustomPageOptions getZoneCustomPageOptions)Get a custom page for a given zone.StringgetZoneIdentifier()Gets the zoneIdentifier.com.ibm.cloud.sdk.core.http.ServiceCall<ListCustomPagesResp>listInstanceCustomPages()List all custom pages for a given instance.com.ibm.cloud.sdk.core.http.ServiceCall<ListCustomPagesResp>listInstanceCustomPages(ListInstanceCustomPagesOptions listInstanceCustomPagesOptions)List all custom pages for a given instance.com.ibm.cloud.sdk.core.http.ServiceCall<ListCustomPagesResp>listZoneCustomPages()List all custom pages for a given zone.com.ibm.cloud.sdk.core.http.ServiceCall<ListCustomPagesResp>listZoneCustomPages(ListZoneCustomPagesOptions listZoneCustomPagesOptions)List all custom pages for a given zone.static CustomPagesnewInstance(String crn, String zoneIdentifier)Class method which constructs an instance of the `CustomPages` client.static CustomPagesnewInstance(String crn, String zoneIdentifier, String serviceName)Class method which constructs an instance of the `CustomPages` client.voidsetCrn(String crn)Sets the crn.voidsetZoneIdentifier(String zoneIdentifier)Sets the zoneIdentifier.com.ibm.cloud.sdk.core.http.ServiceCall<CustomPageSpecificResp>updateInstanceCustomPage(UpdateInstanceCustomPageOptions updateInstanceCustomPageOptions)Update a custom page for a given instance.com.ibm.cloud.sdk.core.http.ServiceCall<CustomPageSpecificResp>updateZoneCustomPage(UpdateZoneCustomPageOptions updateZoneCustomPageOptions)Update a custom page for a given zone.- 
Methods inherited from class com.ibm.cloud.sdk.core.service.BaseServiceconfigureClient, configureService, constructServiceUrl, constructServiceURL, disableRetries, enableGzipCompression, enableRetries, getAuthenticator, getClient, getDefaultHeaders, getEndPoint, getName, getServiceUrl, isJsonMimeType, isJsonPatchMimeType, setClient, setDefaultHeaders, setEndPoint, setServiceUrl, toString
 
- 
 
- 
- 
- 
Field Detail- 
DEFAULT_SERVICE_NAMEpublic static final String DEFAULT_SERVICE_NAME - See Also:
- Constant Field Values
 
 - 
DEFAULT_SERVICE_URLpublic static final String DEFAULT_SERVICE_URL - See Also:
- Constant Field Values
 
 
- 
 - 
Constructor Detail- 
CustomPagespublic CustomPages(String crn, String zoneIdentifier, String serviceName, com.ibm.cloud.sdk.core.security.Authenticator authenticator) Constructs an instance of the `CustomPages` 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 instance
- authenticator- the- Authenticatorinstance to be configured for this client
 
 
- 
 - 
Method Detail- 
newInstancepublic static CustomPages newInstance(String crn, String zoneIdentifier) Class method which constructs an instance of the `CustomPages` 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 `CustomPages` client using external configuration
 
 - 
newInstancepublic static CustomPages newInstance(String crn, String zoneIdentifier, String serviceName) Class method which constructs an instance of the `CustomPages` 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 `CustomPages` client using external configuration
 
 - 
getCrnpublic String getCrn() Gets the crn. Full url-encoded cloud resource name (CRN) of resource instance.- Returns:
- the crn
 
 - 
setCrnpublic void setCrn(String crn) Sets the crn.- Parameters:
- crn- the new crn
 
 - 
getZoneIdentifierpublic String getZoneIdentifier() Gets the zoneIdentifier. Zone identifier.- Returns:
- the zoneIdentifier
 
 - 
setZoneIdentifierpublic void setZoneIdentifier(String zoneIdentifier) Sets the zoneIdentifier.- Parameters:
- zoneIdentifier- the new zoneIdentifier
 
 - 
listInstanceCustomPagespublic com.ibm.cloud.sdk.core.http.ServiceCall<ListCustomPagesResp> listInstanceCustomPages(ListInstanceCustomPagesOptions listInstanceCustomPagesOptions) List all custom pages for a given instance. List all custom pages for a given instance.- Parameters:
- listInstanceCustomPagesOptions- the- ListInstanceCustomPagesOptionscontaining the options for the call
- Returns:
- a ServiceCallwith a result of typeListCustomPagesResp
 
 - 
listInstanceCustomPagespublic com.ibm.cloud.sdk.core.http.ServiceCall<ListCustomPagesResp> listInstanceCustomPages() List all custom pages for a given instance. List all custom pages for a given instance.- Returns:
- a ServiceCallwith a result of typeListCustomPagesResp
 
 - 
getInstanceCustomPagepublic com.ibm.cloud.sdk.core.http.ServiceCall<CustomPageSpecificResp> getInstanceCustomPage(GetInstanceCustomPageOptions getInstanceCustomPageOptions) Get a custom page for a given instance. Get a specific custom page for a given instance.- Parameters:
- getInstanceCustomPageOptions- the- GetInstanceCustomPageOptionscontaining the options for the call
- Returns:
- a ServiceCallwith a result of typeCustomPageSpecificResp
 
 - 
updateInstanceCustomPagepublic com.ibm.cloud.sdk.core.http.ServiceCall<CustomPageSpecificResp> updateInstanceCustomPage(UpdateInstanceCustomPageOptions updateInstanceCustomPageOptions) Update a custom page for a given instance. Update a specific custom page for a given instance.- Parameters:
- updateInstanceCustomPageOptions- the- UpdateInstanceCustomPageOptionscontaining the options for the call
- Returns:
- a ServiceCallwith a result of typeCustomPageSpecificResp
 
 - 
listZoneCustomPagespublic com.ibm.cloud.sdk.core.http.ServiceCall<ListCustomPagesResp> listZoneCustomPages(ListZoneCustomPagesOptions listZoneCustomPagesOptions) List all custom pages for a given zone. List all custom pages for a given zone.- Parameters:
- listZoneCustomPagesOptions- the- ListZoneCustomPagesOptionscontaining the options for the call
- Returns:
- a ServiceCallwith a result of typeListCustomPagesResp
 
 - 
listZoneCustomPagespublic com.ibm.cloud.sdk.core.http.ServiceCall<ListCustomPagesResp> listZoneCustomPages() List all custom pages for a given zone. List all custom pages for a given zone.- Returns:
- a ServiceCallwith a result of typeListCustomPagesResp
 
 - 
getZoneCustomPagepublic com.ibm.cloud.sdk.core.http.ServiceCall<CustomPageSpecificResp> getZoneCustomPage(GetZoneCustomPageOptions getZoneCustomPageOptions) Get a custom page for a given zone. Get a specific custom page for a given zone.- Parameters:
- getZoneCustomPageOptions- the- GetZoneCustomPageOptionscontaining the options for the call
- Returns:
- a ServiceCallwith a result of typeCustomPageSpecificResp
 
 - 
updateZoneCustomPagepublic com.ibm.cloud.sdk.core.http.ServiceCall<CustomPageSpecificResp> updateZoneCustomPage(UpdateZoneCustomPageOptions updateZoneCustomPageOptions) Update a custom page for a given zone. Update a specific custom page for a given zone.- Parameters:
- updateZoneCustomPageOptions- the- UpdateZoneCustomPageOptionscontaining the options for the call
- Returns:
- a ServiceCallwith a result of typeCustomPageSpecificResp
 
 
- 
 
-