Class HostnameSslState


  • public final class HostnameSslState
    extends Object
    SSL-enabled hostname.
    • Constructor Detail

      • HostnameSslState

        public HostnameSslState()
    • Method Detail

      • name

        public String name()
        Get the name property: Hostname.
        Returns:
        the name value.
      • withName

        public HostnameSslState withName​(String name)
        Set the name property: Hostname.
        Parameters:
        name - the name value to set.
        Returns:
        the HostnameSslState object itself.
      • sslState

        public SslState sslState()
        Get the sslState property: SSL type.
        Returns:
        the sslState value.
      • withSslState

        public HostnameSslState withSslState​(SslState sslState)
        Set the sslState property: SSL type.
        Parameters:
        sslState - the sslState value to set.
        Returns:
        the HostnameSslState object itself.
      • virtualIp

        public String virtualIp()
        Get the virtualIp property: Virtual IP address assigned to the hostname if IP based SSL is enabled.
        Returns:
        the virtualIp value.
      • withVirtualIp

        public HostnameSslState withVirtualIp​(String virtualIp)
        Set the virtualIp property: Virtual IP address assigned to the hostname if IP based SSL is enabled.
        Parameters:
        virtualIp - the virtualIp value to set.
        Returns:
        the HostnameSslState object itself.
      • thumbprint

        public String thumbprint()
        Get the thumbprint property: SSL certificate thumbprint.
        Returns:
        the thumbprint value.
      • withThumbprint

        public HostnameSslState withThumbprint​(String thumbprint)
        Set the thumbprint property: SSL certificate thumbprint.
        Parameters:
        thumbprint - the thumbprint value to set.
        Returns:
        the HostnameSslState object itself.
      • toUpdate

        public Boolean toUpdate()
        Get the toUpdate property: Set to <code>true</code> to update existing hostname.
        Returns:
        the toUpdate value.
      • withToUpdate

        public HostnameSslState withToUpdate​(Boolean toUpdate)
        Set the toUpdate property: Set to <code>true</code> to update existing hostname.
        Parameters:
        toUpdate - the toUpdate value to set.
        Returns:
        the HostnameSslState object itself.
      • hostType

        public HostType hostType()
        Get the hostType property: Indicates whether the hostname is a standard or repository hostname.
        Returns:
        the hostType value.
      • withHostType

        public HostnameSslState withHostType​(HostType hostType)
        Set the hostType property: Indicates whether the hostname is a standard or repository hostname.
        Parameters:
        hostType - the hostType value to set.
        Returns:
        the HostnameSslState object itself.
      • validate

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