HostnameSslState Class
- java.
lang. Object - com.
azure. resourcemanager. appservice. models. HostnameSslState
- com.
Implements
public final class HostnameSslState
implements JsonSerializable<HostnameSslState>
SSL-enabled hostname.
Constructor Summary
Constructor | Description |
---|---|
HostnameSslState() |
Creates an instance of Hostname |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Hostname |
fromJson(JsonReader jsonReader)
Reads an instance of Hostname |
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. |
Json |
toJson(JsonWriter jsonWriter) |
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
fromJson
public static HostnameSslState fromJson(JsonReader jsonReader)
Reads an instance of HostnameSslState from the JsonReader.
Parameters:
Returns:
Throws:
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:
toJson
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