TableSignedIdentifier Class

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

Implements

public final class TableSignedIdentifier
implements JsonSerializable<TableSignedIdentifier>

Object to set Table Access Policy.

Constructor Summary

Constructor Description
TableSignedIdentifier()

Creates an instance of TableSignedIdentifier class.

Method Summary

Modifier and Type Method and Description
TableAccessPolicy accessPolicy()

Get the accessPolicy property: Access policy.

static TableSignedIdentifier fromJson(JsonReader jsonReader)

Reads an instance of TableSignedIdentifier from the JsonReader.

String id()

Get the id property: unique-64-character-value of the stored access policy.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

TableSignedIdentifier withAccessPolicy(TableAccessPolicy accessPolicy)

Set the accessPolicy property: Access policy.

TableSignedIdentifier withId(String id)

Set the id property: unique-64-character-value of the stored access policy.

Methods inherited from java.lang.Object

Constructor Details

TableSignedIdentifier

public TableSignedIdentifier()

Creates an instance of TableSignedIdentifier class.

Method Details

accessPolicy

public TableAccessPolicy accessPolicy()

Get the accessPolicy property: Access policy.

Returns:

the accessPolicy value.

fromJson

public static TableSignedIdentifier fromJson(JsonReader jsonReader)

Reads an instance of TableSignedIdentifier from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of TableSignedIdentifier 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: unique-64-character-value 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 TableSignedIdentifier withAccessPolicy(TableAccessPolicy accessPolicy)

Set the accessPolicy property: Access policy.

Parameters:

accessPolicy - the accessPolicy value to set.

Returns:

the TableSignedIdentifier object itself.

withId

public TableSignedIdentifier withId(String id)

Set the id property: unique-64-character-value of the stored access policy.

Parameters:

id - the id value to set.

Returns:

the TableSignedIdentifier object itself.

Applies to