/** * @see PutOptions#publicRead */ public static PutOptions publicRead() { PutOptions options = new PutOptions(); return options.publicRead(); } }
/** * Add public access to all users * */ public PutOptions publicRead() { this.replaceHeader("x-emc-useracl", "root=FULL_CONTROL"); this.replaceHeader("x-emc-groupacl", "other=READ"); return this; }
public static PutOptions publicNone() { PutOptions options = new PutOptions(); return options.publicNone(); } }
public static PutOptions overwrite() { PutOptions options = new PutOptions(); return options.overwrite(); } }
@Override public void setBlobAccess(String container, String key, BlobAccess access) { org.jclouds.atmos.options.PutOptions options = new org.jclouds.atmos.options.PutOptions(); if (access == BlobAccess.PUBLIC_READ) { options.publicRead(); } else { options.publicNone(); } sync.setGroupAcl(container + "/" + key, options); }
@Override public void setBlobAccess(String container, String key, BlobAccess access) { org.jclouds.atmos.options.PutOptions options = new org.jclouds.atmos.options.PutOptions(); if (access == BlobAccess.PUBLIC_READ) { options.publicRead(); } else { options.publicNone(); } sync.setGroupAcl(container + "/" + key, options); }
public static PutOptions overwrite() { PutOptions options = new PutOptions(); return options.overwrite(); } }
@Override public void setBlobAccess(String container, String key, BlobAccess access) { org.jclouds.atmos.options.PutOptions options = new org.jclouds.atmos.options.PutOptions(); if (access == BlobAccess.PUBLIC_READ) { options.publicRead(); } else { options.publicNone(); } sync.setGroupAcl(container + "/" + key, options); }
/** * @see PutOptions#publicRead */ public static PutOptions publicRead() { PutOptions options = new PutOptions(); return options.publicRead(); }
public PutOptions publicNone() { this.replaceHeader("x-emc-useracl", "root=FULL_CONTROL"); this.replaceHeader("x-emc-groupacl", "other=NONE"); return this; }
public static PutOptions publicNone() { PutOptions options = new PutOptions(); return options.publicNone(); } }
@Override public void setContainerAccess(String container, ContainerAccess access) { org.jclouds.atmos.options.PutOptions options = new org.jclouds.atmos.options.PutOptions(); if (access == ContainerAccess.PUBLIC_READ) { options.publicRead(); } else { options.publicNone(); } sync.setGroupAcl(container, options); }
/** * @see PutOptions#publicRead */ public static PutOptions publicRead() { PutOptions options = new PutOptions(); return options.publicRead(); } }
/** * Add public access to all users * */ public PutOptions publicRead() { this.replaceHeader("x-emc-useracl", "root=FULL_CONTROL"); this.replaceHeader("x-emc-groupacl", "other=READ"); return this; }
public static PutOptions publicNone() { PutOptions options = new PutOptions(); return options.publicNone(); }
@Override public void setBlobAccess(String container, String key, BlobAccess access) { org.jclouds.atmos.options.PutOptions options = new org.jclouds.atmos.options.PutOptions(); if (access == BlobAccess.PUBLIC_READ) { options.publicRead(); } else { options.publicNone(); } sync.setGroupAcl(container + "/" + key, options); }
/** * @see PutOptions#publicRead */ public static PutOptions publicRead() { PutOptions options = new PutOptions(); return options.publicRead(); } }
public PutOptions publicNone() { this.replaceHeader("x-emc-useracl", "root=FULL_CONTROL"); this.replaceHeader("x-emc-groupacl", "other=NONE"); return this; }
public static PutOptions publicNone() { PutOptions options = new PutOptions(); return options.publicNone(); }
@Override public void setContainerAccess(String container, ContainerAccess access) { org.jclouds.atmos.options.PutOptions options = new org.jclouds.atmos.options.PutOptions(); if (access == ContainerAccess.PUBLIC_READ) { options.publicRead(); } else { options.publicNone(); } sync.setGroupAcl(container, options); }