PublicCertificateInner Class

public final class PublicCertificateInner
extends ProxyOnlyResource

Public certificate object.

Constructor Summary

Constructor Description
PublicCertificateInner()

Creates an instance of PublicCertificateInner class.

Method Summary

Modifier and Type Method and Description
byte[] blob()

Get the blob property: Public Certificate byte array.

static PublicCertificateInner fromJson(JsonReader jsonReader)

Reads an instance of PublicCertificateInner 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.

PublicCertificateLocation publicCertificateLocation()

Get the publicCertificateLocation property: Public Certificate Location.

String thumbprint()

Get the thumbprint property: Certificate Thumbprint.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

PublicCertificateInner withBlob(byte[] blob)

Set the blob property: Public Certificate byte array.

PublicCertificateInner withKind(String kind)

Set the kind property: Kind of resource.

PublicCertificateInner withPublicCertificateLocation(PublicCertificateLocation publicCertificateLocation)

Set the publicCertificateLocation property: Public Certificate Location.

Methods inherited from ProxyOnlyResource

Methods inherited from java.lang.Object

Constructor Details

PublicCertificateInner

public PublicCertificateInner()

Creates an instance of PublicCertificateInner class.

Method Details

blob

public byte[] blob()

Get the blob property: Public Certificate byte array.

Returns:

the blob value.

fromJson

public static PublicCertificateInner fromJson(JsonReader jsonReader)

Reads an instance of PublicCertificateInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of PublicCertificateInner 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:

PublicCertificateInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

PublicCertificateInner.name()

Returns:

the name value.

publicCertificateLocation

public PublicCertificateLocation publicCertificateLocation()

Get the publicCertificateLocation property: Public Certificate Location.

Returns:

the publicCertificateLocation value.

thumbprint

public String thumbprint()

Get the thumbprint property: Certificate Thumbprint.

Returns:

the thumbprint value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

PublicCertificateInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

PublicCertificateInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

Overrides:

PublicCertificateInner.validate()

withBlob

public PublicCertificateInner withBlob(byte[] blob)

Set the blob property: Public Certificate byte array.

Parameters:

blob - the blob value to set.

Returns:

the PublicCertificateInner object itself.

withKind

public PublicCertificateInner withKind(String kind)

Set the kind property: Kind of resource.

Overrides:

PublicCertificateInner.withKind(String kind)

Parameters:

kind

withPublicCertificateLocation

public PublicCertificateInner withPublicCertificateLocation(PublicCertificateLocation publicCertificateLocation)

Set the publicCertificateLocation property: Public Certificate Location.

Parameters:

publicCertificateLocation - the publicCertificateLocation value to set.

Returns:

the PublicCertificateInner object itself.

Applies to