Class CustomPages


  • public class CustomPages
    extends com.ibm.cloud.sdk.core.service.BaseService
    Custom Pages.
    Version:
    v1
    • Constructor Detail

      • CustomPages

        public 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 Authenticator instance to be configured for this client
    • Method Detail

      • newInstance

        public 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
      • newInstance

        public 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
      • 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
      • listInstanceCustomPages

        public 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 ServiceCall with a result of type ListCustomPagesResp
      • listZoneCustomPages

        public 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 ServiceCall with a result of type ListCustomPagesResp