Freigeben über


HostnameSslState Class

  • java.lang.Object
    • com.azure.resourcemanager.appservice.models.HostnameSslState

Implements

public final class HostnameSslState
implements JsonSerializable<HostnameSslState>

SSL-enabled hostname.

Constructor Summary

Constructor Description
HostnameSslState()

Creates an instance of HostnameSslState class.

Method Summary

Modifier and Type Method and Description
static HostnameSslState fromJson(JsonReader jsonReader)

Reads an instance of HostnameSslState from the JsonReader.

HostType hostType()

Get the hostType property: Indicates whether the hostname is a standard or repository hostname.

String name()

Get the name property: Hostname.

SslState sslState()

Get the sslState property: SSL type.

String thumbprint()

Get the thumbprint property: SSL certificate thumbprint.

JsonWriter toJson(JsonWriter jsonWriter)
Boolean toUpdate()

Get the toUpdate property: Set to true to update existing hostname.

void validate()

Validates the instance.

String virtualIp()

Get the virtualIp property: Virtual IP address assigned to the hostname if IP based SSL is enabled.

HostnameSslState withHostType(HostType hostType)

Set the hostType property: Indicates whether the hostname is a standard or repository hostname.

HostnameSslState withName(String name)

Set the name property: Hostname.

HostnameSslState withSslState(SslState sslState)

Set the sslState property: SSL type.

HostnameSslState withThumbprint(String thumbprint)

Set the thumbprint property: SSL certificate thumbprint.

HostnameSslState withToUpdate(Boolean toUpdate)

Set the toUpdate property: Set to true to update existing hostname.

HostnameSslState withVirtualIp(String virtualIp)

Set the virtualIp property: Virtual IP address assigned to the hostname if IP based SSL is enabled.

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:

jsonReader - The JsonReader being read.

Returns:

An instance of HostnameSslState if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the HostnameSslState.

hostType

public HostType hostType()

Get the hostType property: Indicates whether the hostname is a standard or repository hostname.

Returns:

the hostType value.

name

public String name()

Get the name property: Hostname.

Returns:

the name value.

sslState

public SslState sslState()

Get the sslState property: SSL type.

Returns:

the sslState value.

thumbprint

public String thumbprint()

Get the thumbprint property: SSL certificate thumbprint.

Returns:

the thumbprint value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

toUpdate

public Boolean toUpdate()

Get the toUpdate property: Set to true to update existing hostname.

Returns:

the toUpdate value.

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:

the virtualIp 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.

withName

public HostnameSslState withName(String name)

Set the name property: Hostname.

Parameters:

name - the name value to set.

Returns:

the HostnameSslState object itself.

withSslState

public HostnameSslState withSslState(SslState sslState)

Set the sslState property: SSL type.

Parameters:

sslState - the sslState value to set.

Returns:

the HostnameSslState object itself.

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.

withToUpdate

public HostnameSslState withToUpdate(Boolean toUpdate)

Set the toUpdate property: Set to true to update existing hostname.

Parameters:

toUpdate - the toUpdate value to set.

Returns:

the HostnameSslState object itself.

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.

Applies to