Поделиться через


SignedIdentifier Class

  • java.lang.Object
    • com.azure.resourcemanager.storage.models.SignedIdentifier

Implements

public final class SignedIdentifier
implements JsonSerializable<SignedIdentifier>

The SignedIdentifier model.

Constructor Summary

Constructor Description
SignedIdentifier()

Creates an instance of SignedIdentifier class.

Method Summary

Modifier and Type Method and Description
AccessPolicy accessPolicy()

Get the accessPolicy property: Access policy.

static SignedIdentifier fromJson(JsonReader jsonReader)

Reads an instance of SignedIdentifier from the JsonReader.

String id()

Get the id property: An unique identifier of the stored access policy.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

SignedIdentifier withAccessPolicy(AccessPolicy accessPolicy)

Set the accessPolicy property: Access policy.

SignedIdentifier withId(String id)

Set the id property: An unique identifier of the stored access policy.

Methods inherited from java.lang.Object

Constructor Details

SignedIdentifier

public SignedIdentifier()

Creates an instance of SignedIdentifier class.

Method Details

accessPolicy

public AccessPolicy accessPolicy()

Get the accessPolicy property: Access policy.

Returns:

the accessPolicy value.

fromJson

public static SignedIdentifier fromJson(JsonReader jsonReader)

Reads an instance of SignedIdentifier from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

id

public String id()

Get the id property: An unique identifier of the stored access policy.

Returns:

the id value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAccessPolicy

public SignedIdentifier withAccessPolicy(AccessPolicy accessPolicy)

Set the accessPolicy property: Access policy.

Parameters:

accessPolicy - the accessPolicy value to set.

Returns:

the SignedIdentifier object itself.

withId

public SignedIdentifier withId(String id)

Set the id property: An unique identifier of the stored access policy.

Parameters:

id - the id value to set.

Returns:

the SignedIdentifier object itself.

Applies to