Class SslConfiguration


  • public final class SslConfiguration
    extends Object
    The ssl configuration for scoring.
    • Constructor Detail

      • SslConfiguration

        public SslConfiguration()
    • Method Detail

      • status

        public SslConfigurationStatus status()
        Get the status property: Enable or disable ssl for scoring.
        Returns:
        the status value.
      • withStatus

        public SslConfiguration withStatus​(SslConfigurationStatus status)
        Set the status property: Enable or disable ssl for scoring.
        Parameters:
        status - the status value to set.
        Returns:
        the SslConfiguration object itself.
      • cert

        public String cert()
        Get the cert property: Cert data.
        Returns:
        the cert value.
      • withCert

        public SslConfiguration withCert​(String cert)
        Set the cert property: Cert data.
        Parameters:
        cert - the cert value to set.
        Returns:
        the SslConfiguration object itself.
      • key

        public String key()
        Get the key property: Key data.
        Returns:
        the key value.
      • withKey

        public SslConfiguration withKey​(String key)
        Set the key property: Key data.
        Parameters:
        key - the key value to set.
        Returns:
        the SslConfiguration object itself.
      • cname

        public String cname()
        Get the cname property: CNAME of the cert.
        Returns:
        the cname value.
      • withCname

        public SslConfiguration withCname​(String cname)
        Set the cname property: CNAME of the cert.
        Parameters:
        cname - the cname value to set.
        Returns:
        the SslConfiguration object itself.
      • leafDomainLabel

        public String leafDomainLabel()
        Get the leafDomainLabel property: Leaf domain label of public endpoint.
        Returns:
        the leafDomainLabel value.
      • withLeafDomainLabel

        public SslConfiguration withLeafDomainLabel​(String leafDomainLabel)
        Set the leafDomainLabel property: Leaf domain label of public endpoint.
        Parameters:
        leafDomainLabel - the leafDomainLabel value to set.
        Returns:
        the SslConfiguration object itself.
      • overwriteExistingDomain

        public Boolean overwriteExistingDomain()
        Get the overwriteExistingDomain property: Indicates whether to overwrite existing domain label.
        Returns:
        the overwriteExistingDomain value.
      • withOverwriteExistingDomain

        public SslConfiguration withOverwriteExistingDomain​(Boolean overwriteExistingDomain)
        Set the overwriteExistingDomain property: Indicates whether to overwrite existing domain label.
        Parameters:
        overwriteExistingDomain - the overwriteExistingDomain value to set.
        Returns:
        the SslConfiguration object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.