com.azure.storage.blob.models.BlobContainerAccessPolicies 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.
package com.azure.storage.blob.models;
import com.azure.core.annotation.Immutable;
import java.util.List;
/**
* This class contains values which correlate to the access polices set on a specific container.
*/
@Immutable
public class BlobContainerAccessPolicies {
private final PublicAccessType blobAccessType;
private final List identifiers;
/**
* Constructs a {@link BlobContainerAccessPolicies}.
*
* @param blobAccessType Level of public access the container allows.
* @param identifiers {@link BlobSignedIdentifier BlobSignedIdentifiers} associated with the container.
*/
public BlobContainerAccessPolicies(PublicAccessType blobAccessType, List identifiers) {
this.blobAccessType = blobAccessType;
this.identifiers = identifiers;
}
/**
* @return the level of public access the container allows.
*/
public PublicAccessType getBlobAccessType() {
return blobAccessType;
}
/**
* @return the {@link BlobSignedIdentifier BlobSignedIdentifiers} associated with the container.
*/
public List getIdentifiers() {
return this.identifiers;
}
}