HostnameSslState Class
- java.
lang. Object - com.
azure. resourcemanager. appservice. models. HostnameSslState
- com.
public final class HostnameSslState
SSL-enabled hostname.
Constructor Summary
Constructor | Description |
---|---|
HostnameSslState() |
Creates an instance of Hostname |
Method Summary
Modifier and Type | Method and Description |
---|---|
Host |
hostType()
Get the host |
String |
name()
Get the name property: Hostname. |
Ssl |
sslState()
Get the ssl |
String |
thumbprint()
Get the thumbprint property: SSL certificate thumbprint. |
Boolean |
toUpdate()
Get the to |
void |
validate()
Validates the instance. |
String |
virtualIp()
Get the virtual |
Hostname |
withHostType(HostType hostType)
Set the host |
Hostname |
withName(String name)
Set the name property: Hostname. |
Hostname |
withSslState(SslState sslState)
Set the ssl |
Hostname |
withThumbprint(String thumbprint)
Set the thumbprint property: SSL certificate thumbprint. |
Hostname |
withToUpdate(Boolean toUpdate)
Set the to |
Hostname |
withVirtualIp(String virtualIp)
Set the virtual |
Methods inherited from java.lang.Object
Constructor Details
HostnameSslState
public HostnameSslState()
Creates an instance of HostnameSslState class.
Method Details
hostType
public HostType hostType()
Get the hostType property: Indicates whether the hostname is a standard or repository hostname.
Returns:
name
public String name()
Get the name property: Hostname.
Returns:
sslState
public SslState sslState()
Get the sslState property: SSL type.
Returns:
thumbprint
public String thumbprint()
Get the thumbprint property: SSL certificate thumbprint.
Returns:
toUpdate
public Boolean toUpdate()
Get the toUpdate property: Set to true
to update existing hostname.
Returns:
validate
public void validate()
Validates the instance.
virtualIp
public String virtualIp()
Get the virtualIp property: Virtual IP address assigned to the hostname if IP based SSL is enabled.
Returns:
withHostType
public HostnameSslState withHostType(HostType hostType)
Set the hostType property: Indicates whether the hostname is a standard or repository hostname.
Parameters:
Returns:
withName
public HostnameSslState withName(String name)
Set the name property: Hostname.
Parameters:
Returns:
withSslState
public HostnameSslState withSslState(SslState sslState)
Set the sslState property: SSL type.
Parameters:
Returns:
withThumbprint
public HostnameSslState withThumbprint(String thumbprint)
Set the thumbprint property: SSL certificate thumbprint.
Parameters:
Returns:
withToUpdate
public HostnameSslState withToUpdate(Boolean toUpdate)
Set the toUpdate property: Set to true
to update existing hostname.
Parameters:
Returns:
withVirtualIp
public HostnameSslState withVirtualIp(String virtualIp)
Set the virtualIp property: Virtual IP address assigned to the hostname if IP based SSL is enabled.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for