Class HostnameSslState
java.lang.Object
com.azure.resourcemanager.appservice.models.HostnameSslState
SSL-enabled hostname.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionhostType()
Get the hostType property: Indicates whether the hostname is a standard or repository hostname.name()
Get the name property: Hostname.sslState()
Get the sslState property: SSL type.Get the thumbprint property: SSL certificate thumbprint.toUpdate()
Get the toUpdate property: Set to <code>true</code> to update existing hostname.void
validate()
Validates the instance.Get the virtualIp property: Virtual IP address assigned to the hostname if IP based SSL is enabled.withHostType
(HostType hostType) Set the hostType property: Indicates whether the hostname is a standard or repository hostname.Set the name property: Hostname.withSslState
(SslState sslState) Set the sslState property: SSL type.withThumbprint
(String thumbprint) Set the thumbprint property: SSL certificate thumbprint.withToUpdate
(Boolean toUpdate) Set the toUpdate property: Set to <code>true</code> to update existing hostname.withVirtualIp
(String virtualIp) Set the virtualIp property: Virtual IP address assigned to the hostname if IP based SSL is enabled.
-
Constructor Details
-
HostnameSslState
public HostnameSslState()
-
-
Method Details
-
name
Get the name property: Hostname.- Returns:
- the name value.
-
withName
Set the name property: Hostname.- Parameters:
name
- the name value to set.- Returns:
- the HostnameSslState object itself.
-
sslState
Get the sslState property: SSL type.- Returns:
- the sslState value.
-
withSslState
Set the sslState property: SSL type.- Parameters:
sslState
- the sslState value to set.- Returns:
- the HostnameSslState object itself.
-
virtualIp
Get the virtualIp property: Virtual IP address assigned to the hostname if IP based SSL is enabled.- Returns:
- the virtualIp value.
-
withVirtualIp
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
Get the thumbprint property: SSL certificate thumbprint.- Returns:
- the thumbprint value.
-
withThumbprint
Set the thumbprint property: SSL certificate thumbprint.- Parameters:
thumbprint
- the thumbprint value to set.- Returns:
- the HostnameSslState object itself.
-
toUpdate
Get the toUpdate property: Set to <code>true</code> to update existing hostname.- Returns:
- the toUpdate value.
-
withToUpdate
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
Get the hostType property: Indicates whether the hostname is a standard or repository hostname.- Returns:
- the hostType value.
-
withHostType
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.
-