다음을 통해 공유


CertificateReference Class

  • java.lang.Object
    • com.azure.resourcemanager.appplatform.models.CertificateReference

Implements

public final class CertificateReference
implements JsonSerializable<CertificateReference>

A reference to the certificate.

Constructor Summary

Constructor Description
CertificateReference()

Creates an instance of CertificateReference class.

Method Summary

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

Reads an instance of CertificateReference from the JsonReader.

String resourceId()

Get the resourceId property: Resource Id of the certificate.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

CertificateReference withResourceId(String resourceId)

Set the resourceId property: Resource Id of the certificate.

Methods inherited from java.lang.Object

Constructor Details

CertificateReference

public CertificateReference()

Creates an instance of CertificateReference class.

Method Details

fromJson

public static CertificateReference fromJson(JsonReader jsonReader)

Reads an instance of CertificateReference from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

resourceId

public String resourceId()

Get the resourceId property: Resource Id of the certificate.

Returns:

the resourceId value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withResourceId

public CertificateReference withResourceId(String resourceId)

Set the resourceId property: Resource Id of the certificate.

Parameters:

resourceId - the resourceId value to set.

Returns:

the CertificateReference object itself.

Applies to