Partager via


ApplicationGatewayAuthenticationCertificateInner Class

public final class ApplicationGatewayAuthenticationCertificateInner
extends SubResource

Authentication certificates of an application gateway.

Constructor Summary

Constructor Description
ApplicationGatewayAuthenticationCertificateInner()

Creates an instance of ApplicationGatewayAuthenticationCertificateInner class.

Method Summary

Modifier and Type Method and Description
String data()

Get the data property: Certificate public data.

String etag()

Get the etag property: A unique read-only string that changes whenever the resource is updated.

static ApplicationGatewayAuthenticationCertificateInner fromJson(JsonReader jsonReader)

Reads an instance of ApplicationGatewayAuthenticationCertificateInner from the JsonReader.

String name()

Get the name property: Name of the authentication certificate that is unique within an Application Gateway.

ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the authentication certificate resource.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: Type of the resource.

void validate()

Validates the instance.

ApplicationGatewayAuthenticationCertificateInner withData(String data)

Set the data property: Certificate public data.

ApplicationGatewayAuthenticationCertificateInner withId(String id)
ApplicationGatewayAuthenticationCertificateInner withName(String name)

Set the name property: Name of the authentication certificate that is unique within an Application Gateway.

Methods inherited from SubResource

Methods inherited from java.lang.Object

Constructor Details

ApplicationGatewayAuthenticationCertificateInner

public ApplicationGatewayAuthenticationCertificateInner()

Creates an instance of ApplicationGatewayAuthenticationCertificateInner class.

Method Details

data

public String data()

Get the data property: Certificate public data.

Returns:

the data value.

etag

public String etag()

Get the etag property: A unique read-only string that changes whenever the resource is updated.

Returns:

the etag value.

fromJson

public static ApplicationGatewayAuthenticationCertificateInner fromJson(JsonReader jsonReader)

Reads an instance of ApplicationGatewayAuthenticationCertificateInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ApplicationGatewayAuthenticationCertificateInner 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 ApplicationGatewayAuthenticationCertificateInner.

name

public String name()

Get the name property: Name of the authentication certificate that is unique within an Application Gateway.

Returns:

the name value.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the authentication certificate resource.

Returns:

the provisioningState value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

ApplicationGatewayAuthenticationCertificateInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: Type of the resource.

Returns:

the type value.

validate

public void validate()

Validates the instance.

withData

public ApplicationGatewayAuthenticationCertificateInner withData(String data)

Set the data property: Certificate public data.

Parameters:

data - the data value to set.

Returns:

the ApplicationGatewayAuthenticationCertificateInner object itself.

withId

public ApplicationGatewayAuthenticationCertificateInner withId(String id)

Overrides:

ApplicationGatewayAuthenticationCertificateInner.withId(String id)

Parameters:

id

withName

public ApplicationGatewayAuthenticationCertificateInner withName(String name)

Set the name property: Name of the authentication certificate that is unique within an Application Gateway.

Parameters:

name - the name value to set.

Returns:

the ApplicationGatewayAuthenticationCertificateInner object itself.

Applies to