com.azure.storage.blob.models.BlobSignedIdentifier Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-storage-blob Show documentation
Show all versions of azure-storage-blob Show documentation
This module contains client library for Microsoft Azure Blob Storage.
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.storage.blob.models;
import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement;
/** signed identifier. */
@JacksonXmlRootElement(localName = "SignedIdentifier")
@Fluent
public final class BlobSignedIdentifier {
/*
* a unique id
*/
@JsonProperty(value = "Id", required = true)
private String id;
/*
* An Access policy
*/
@JsonProperty(value = "AccessPolicy", required = true)
private BlobAccessPolicy accessPolicy;
/** Creates an instance of BlobSignedIdentifier class. */
public BlobSignedIdentifier() {}
/**
* Get the id property: a unique id.
*
* @return the id value.
*/
public String getId() {
return this.id;
}
/**
* Set the id property: a unique id.
*
* @param id the id value to set.
* @return the BlobSignedIdentifier object itself.
*/
public BlobSignedIdentifier setId(String id) {
this.id = id;
return this;
}
/**
* Get the accessPolicy property: An Access policy.
*
* @return the accessPolicy value.
*/
public BlobAccessPolicy getAccessPolicy() {
return this.accessPolicy;
}
/**
* Set the accessPolicy property: An Access policy.
*
* @param accessPolicy the accessPolicy value to set.
* @return the BlobSignedIdentifier object itself.
*/
public BlobSignedIdentifier setAccessPolicy(BlobAccessPolicy accessPolicy) {
this.accessPolicy = accessPolicy;
return this;
}
}