All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.azure.storage.blob.models.BlobSignedIdentifier Maven / Gradle / Ivy

There is a newer version: 12.29.0
Show newest version
// 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;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy