LoadedCertificate Class

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

Implements

public final class LoadedCertificate
implements JsonSerializable<LoadedCertificate>

Loaded certificate payload.

Constructor Summary

Constructor Description
LoadedCertificate()

Creates an instance of LoadedCertificate class.

Method Summary

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

Reads an instance of LoadedCertificate from the JsonReader.

Boolean loadTrustStore()

Get the loadTrustStore property: Indicate whether the certificate will be loaded into default trust store, only work for Java runtime.

String resourceId()

Get the resourceId property: Resource Id of loaded certificate.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

LoadedCertificate withLoadTrustStore(Boolean loadTrustStore)

Set the loadTrustStore property: Indicate whether the certificate will be loaded into default trust store, only work for Java runtime.

LoadedCertificate withResourceId(String resourceId)

Set the resourceId property: Resource Id of loaded certificate.

Methods inherited from java.lang.Object

Constructor Details

LoadedCertificate

public LoadedCertificate()

Creates an instance of LoadedCertificate class.

Method Details

fromJson

public static LoadedCertificate fromJson(JsonReader jsonReader)

Reads an instance of LoadedCertificate from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

loadTrustStore

public Boolean loadTrustStore()

Get the loadTrustStore property: Indicate whether the certificate will be loaded into default trust store, only work for Java runtime.

Returns:

the loadTrustStore value.

resourceId

public String resourceId()

Get the resourceId property: Resource Id of loaded certificate.

Returns:

the resourceId value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withLoadTrustStore

public LoadedCertificate withLoadTrustStore(Boolean loadTrustStore)

Set the loadTrustStore property: Indicate whether the certificate will be loaded into default trust store, only work for Java runtime.

Parameters:

loadTrustStore - the loadTrustStore value to set.

Returns:

the LoadedCertificate object itself.

withResourceId

public LoadedCertificate withResourceId(String resourceId)

Set the resourceId property: Resource Id of loaded certificate.

Parameters:

resourceId - the resourceId value to set.

Returns:

the LoadedCertificate object itself.

Applies to