
com.microsoft.windowsazure.services.blob.client.BlobAttributes Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of microsoft-windowsazure-api
Show all versions of microsoft-windowsazure-api
API for Microsoft Windows Azure Clients
/**
* Copyright 2011 Microsoft Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.microsoft.windowsazure.services.blob.client;
import java.net.URI;
import java.util.HashMap;
/**
* RESERVED FOR INTERNAL USE. Represents a blob's attributes.
*
*/
final class BlobAttributes {
/**
* Holds the metadata for the blob.
*/
private HashMap metadata;
/**
* Holds the properties of the blob.
*/
private BlobProperties properties;
/**
* Holds the snapshot ID
*/
public String snapshotID;
/**
* Holds the URI of the blob, Setting this is RESERVED for internal use.
*/
protected URI uri;
/**
* Initializes a new instance of the BlobAttributes class
*/
public BlobAttributes(final BlobType type) {
this.setMetadata(new HashMap());
this.setProperties(new BlobProperties(type));
}
public HashMap getMetadata() {
return this.metadata;
}
public BlobProperties getProperties() {
return this.properties;
}
protected void setMetadata(final HashMap metadata) {
this.metadata = metadata;
}
protected void setProperties(final BlobProperties properties) {
this.properties = properties;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy