HostnameBindingInner Class

public final class HostnameBindingInner
extends ProxyOnlyResource

A hostname binding object.

Constructor Summary

Constructor Description
HostnameBindingInner()

Creates an instance of HostnameBindingInner class.

Method Summary

Modifier and Type Method and Description
String azureResourceName()

Get the azureResourceName property: Azure resource name.

AzureResourceType azureResourceType()

Get the azureResourceType property: Azure resource type.

CustomHostnameDnsRecordType customHostnameDnsRecordType()

Get the customHostnameDnsRecordType property: Custom DNS record type.

String domainId()

Get the domainId property: Fully qualified ARM domain resource URI.

static HostnameBindingInner fromJson(JsonReader jsonReader)

Reads an instance of HostnameBindingInner from the JsonReader.

HostnameType hostnameType()

Get the hostnameType property: Hostname type.

String id()

Get the id property: Fully qualified resource Id for the resource.

String name()

Get the name property: The name of the resource.

String siteName()

Get the siteName property: App Service app name.

SslState sslState()

Get the sslState property: SSL type.

String thumbprint()

Get the thumbprint property: SSL certificate thumbprint.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

String virtualIp()

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

HostnameBindingInner withAzureResourceName(String azureResourceName)

Set the azureResourceName property: Azure resource name.

HostnameBindingInner withAzureResourceType(AzureResourceType azureResourceType)

Set the azureResourceType property: Azure resource type.

HostnameBindingInner withCustomHostnameDnsRecordType(CustomHostnameDnsRecordType customHostnameDnsRecordType)

Set the customHostnameDnsRecordType property: Custom DNS record type.

HostnameBindingInner withDomainId(String domainId)

Set the domainId property: Fully qualified ARM domain resource URI.

HostnameBindingInner withHostnameType(HostnameType hostnameType)

Set the hostnameType property: Hostname type.

HostnameBindingInner withKind(String kind)

Set the kind property: Kind of resource.

HostnameBindingInner withSiteName(String siteName)

Set the siteName property: App Service app name.

HostnameBindingInner withSslState(SslState sslState)

Set the sslState property: SSL type.

HostnameBindingInner withThumbprint(String thumbprint)

Set the thumbprint property: SSL certificate thumbprint.

Methods inherited from ProxyOnlyResource

Methods inherited from java.lang.Object

Constructor Details

HostnameBindingInner

public HostnameBindingInner()

Creates an instance of HostnameBindingInner class.

Method Details

azureResourceName

public String azureResourceName()

Get the azureResourceName property: Azure resource name.

Returns:

the azureResourceName value.

azureResourceType

public AzureResourceType azureResourceType()

Get the azureResourceType property: Azure resource type.

Returns:

the azureResourceType value.

customHostnameDnsRecordType

public CustomHostnameDnsRecordType customHostnameDnsRecordType()

Get the customHostnameDnsRecordType property: Custom DNS record type.

Returns:

the customHostnameDnsRecordType value.

domainId

public String domainId()

Get the domainId property: Fully qualified ARM domain resource URI.

Returns:

the domainId value.

fromJson

public static HostnameBindingInner fromJson(JsonReader jsonReader)

Reads an instance of HostnameBindingInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

hostnameType

public HostnameType hostnameType()

Get the hostnameType property: Hostname type.

Returns:

the hostnameType value.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

HostnameBindingInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

HostnameBindingInner.name()

Returns:

the name value.

siteName

public String siteName()

Get the siteName property: App Service app name.

Returns:

the siteName 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)

Overrides:

HostnameBindingInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

HostnameBindingInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

Overrides:

HostnameBindingInner.validate()

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.

withAzureResourceName

public HostnameBindingInner withAzureResourceName(String azureResourceName)

Set the azureResourceName property: Azure resource name.

Parameters:

azureResourceName - the azureResourceName value to set.

Returns:

the HostnameBindingInner object itself.

withAzureResourceType

public HostnameBindingInner withAzureResourceType(AzureResourceType azureResourceType)

Set the azureResourceType property: Azure resource type.

Parameters:

azureResourceType - the azureResourceType value to set.

Returns:

the HostnameBindingInner object itself.

withCustomHostnameDnsRecordType

public HostnameBindingInner withCustomHostnameDnsRecordType(CustomHostnameDnsRecordType customHostnameDnsRecordType)

Set the customHostnameDnsRecordType property: Custom DNS record type.

Parameters:

customHostnameDnsRecordType - the customHostnameDnsRecordType value to set.

Returns:

the HostnameBindingInner object itself.

withDomainId

public HostnameBindingInner withDomainId(String domainId)

Set the domainId property: Fully qualified ARM domain resource URI.

Parameters:

domainId - the domainId value to set.

Returns:

the HostnameBindingInner object itself.

withHostnameType

public HostnameBindingInner withHostnameType(HostnameType hostnameType)

Set the hostnameType property: Hostname type.

Parameters:

hostnameType - the hostnameType value to set.

Returns:

the HostnameBindingInner object itself.

withKind

public HostnameBindingInner withKind(String kind)

Set the kind property: Kind of resource.

Overrides:

HostnameBindingInner.withKind(String kind)

Parameters:

kind

withSiteName

public HostnameBindingInner withSiteName(String siteName)

Set the siteName property: App Service app name.

Parameters:

siteName - the siteName value to set.

Returns:

the HostnameBindingInner object itself.

withSslState

public HostnameBindingInner withSslState(SslState sslState)

Set the sslState property: SSL type.

Parameters:

sslState - the sslState value to set.

Returns:

the HostnameBindingInner object itself.

withThumbprint

public HostnameBindingInner withThumbprint(String thumbprint)

Set the thumbprint property: SSL certificate thumbprint.

Parameters:

thumbprint - the thumbprint value to set.

Returns:

the HostnameBindingInner object itself.

Applies to