EndpointCertificateInner Class

public final class EndpointCertificateInner
extends ProxyResource

Certificate used on an endpoint on the Managed Instance.

Constructor Summary

Constructor Description
EndpointCertificateInner()

Creates an instance of EndpointCertificateInner class.

Method Summary

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

Reads an instance of EndpointCertificateInner from the JsonReader.

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 publicBlob()

Get the publicBlob property: The certificate public blob.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

EndpointCertificateInner withPublicBlob(String publicBlob)

Set the publicBlob property: The certificate public blob.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

EndpointCertificateInner

public EndpointCertificateInner()

Creates an instance of EndpointCertificateInner class.

Method Details

fromJson

public static EndpointCertificateInner fromJson(JsonReader jsonReader)

Reads an instance of EndpointCertificateInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

id

public String id()

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

Overrides:

EndpointCertificateInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

EndpointCertificateInner.name()

Returns:

the name value.

publicBlob

public String publicBlob()

Get the publicBlob property: The certificate public blob.

Returns:

the publicBlob value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

EndpointCertificateInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

EndpointCertificateInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withPublicBlob

public EndpointCertificateInner withPublicBlob(String publicBlob)

Set the publicBlob property: The certificate public blob.

Parameters:

publicBlob - the publicBlob value to set.

Returns:

the EndpointCertificateInner object itself.

Applies to