Codota Logo
org.jclouds.s3.domain
Code IndexAdd Codota to your IDE (free)

How to use org.jclouds.s3.domain

Best Java code snippets using org.jclouds.s3.domain (Showing top 20 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
BufferedReader b =
  • Codota IconInputStream in;new BufferedReader(new InputStreamReader(in))
  • Codota IconReader in;new BufferedReader(in)
  • Codota IconFile file;new BufferedReader(new FileReader(file))
  • Smart code suggestions by Codota
}
origin: jclouds/legacy-jclouds

/**
* @param grantee
* @param permission
* @return true if the grantee has the given permission.
*/
public boolean hasPermission(Grantee grantee, String permission) {
 return hasPermission(grantee.getIdentifier(), permission);
}
origin: jclouds/legacy-jclouds

/**
* @param grantee
* @return the permissions assigned to a grantee.
*/
public Collection<String> getPermissions(Grantee grantee) {
 return getPermissions(grantee.getIdentifier());
}
origin: jclouds/legacy-jclouds

/**
* Add a permission for the given group grantee.
* 
* @param groupGranteeURI
* @param permission
*/
public AccessControlList addPermission(URI groupGranteeURI, String permission) {
 return addPermission(new GroupGrantee(groupGranteeURI), permission);
}
origin: jclouds/legacy-jclouds

private void addGrantsToACL(AccessControlList acl) {
 String ownerId = acl.getOwner().getId();
 acl.addPermission(GroupGranteeURI.ALL_USERS, Permission.READ);
 acl.addPermission(new EmailAddressGrantee(TEST_ACL_EMAIL), Permission.READ_ACP);
 acl.addPermission(new CanonicalUserGrantee(ownerId), Permission.WRITE_ACP);
}
origin: gaul/s3proxy

if (tier != null) {
  response.addHeader("x-amz-storage-class",
      StorageClass.fromTier(tier).toString());
origin: gaul/s3proxy

  throw new IllegalArgumentException();
} else {
  builder.tier(StorageClass.valueOf(storageClass).toTier());
origin: jclouds/legacy-jclouds

private void addGrantsToACL(AccessControlList acl) {
 String ownerId = acl.getOwner().getId();
 acl.addPermission(GroupGranteeURI.ALL_USERS, Permission.READ);
 acl.addPermission(new EmailAddressGrantee(StubS3AsyncClient.TEST_ACL_EMAIL), Permission.READ_ACP);
 acl.addPermission(new CanonicalUserGrantee(ownerId), Permission.WRITE_ACP);
}
origin: Nextdoor/bender

/**
* @param grantee
* @param permission
* @return true if the grantee has the given permission.
*/
public boolean hasPermission(Grantee grantee, String permission) {
 return hasPermission(grantee.getIdentifier(), permission);
}
origin: org.apache.jclouds.api/s3

/**
* @param grantee
* @return the permissions assigned to a grantee.
*/
public Collection<String> getPermissions(Grantee grantee) {
 return getPermissions(grantee.getIdentifier());
}
origin: org.jclouds.api/s3

/**
* Add a permission for the given group grantee.
* 
* @param groupGranteeURI
* @param permission
*/
public AccessControlList addPermission(URI groupGranteeURI, String permission) {
 return addPermission(new GroupGrantee(groupGranteeURI), permission);
}
origin: gaul/s3proxy

    String.valueOf(metadata.getSize()));
writeSimpleElement(xml, "StorageClass",
    StorageClass.fromTier(metadata.getTier()).toString());
origin: gaul/s3proxy

  throw new IllegalArgumentException();
} else {
  builder.tier(StorageClass.valueOf(storageClass).toTier());
origin: apache/jclouds

private void addGrantsToACL(AccessControlList acl) {
 String ownerId = acl.getOwner().getId();
 acl.addPermission(ALL_USERS, READ);
 acl.addPermission(new EmailAddressGrantee(TEST_ACL_EMAIL), READ_ACP);
 acl.addPermission(new CanonicalUserGrantee(ownerId), WRITE_ACP);
}
origin: apache/jclouds

/**
* @param grantee
* @param permission
* @return true if the grantee has the given permission.
*/
public boolean hasPermission(Grantee grantee, String permission) {
 return hasPermission(grantee.getIdentifier(), permission);
}
origin: Nextdoor/bender

/**
* @param grantee
* @return the permissions assigned to a grantee.
*/
public Collection<String> getPermissions(Grantee grantee) {
 return getPermissions(grantee.getIdentifier());
}
origin: apache/jclouds

/**
* Add a permission for the given group grantee.
* 
* @param groupGranteeURI
* @param permission
*/
public AccessControlList addPermission(URI groupGranteeURI, String permission) {
 return addPermission(new GroupGrantee(groupGranteeURI), permission);
}
origin: apache/jclouds

private void addGrantsToACL(AccessControlList acl) {
 String ownerId = acl.getOwner().getId();
 acl.addPermission(GroupGranteeURI.ALL_USERS, Permission.READ);
 acl.addPermission(new EmailAddressGrantee(TEST_ACL_EMAIL), Permission.READ_ACP);
 acl.addPermission(new CanonicalUserGrantee(ownerId), Permission.WRITE_ACP);
}
origin: org.apache.jclouds.api/s3

/**
* @param grantee
* @param permission
* @return true if the grantee has the given permission.
*/
public boolean hasPermission(Grantee grantee, String permission) {
 return hasPermission(grantee.getIdentifier(), permission);
}
origin: apache/jclouds

/**
* @param grantee
* @return the permissions assigned to a grantee.
*/
public Collection<String> getPermissions(Grantee grantee) {
 return getPermissions(grantee.getIdentifier());
}
origin: org.apache.jclouds.api/s3

/**
* Add a permission for the given group grantee.
* 
* @param groupGranteeURI
* @param permission
*/
public AccessControlList addPermission(URI groupGranteeURI, String permission) {
 return addPermission(new GroupGrantee(groupGranteeURI), permission);
}
org.jclouds.s3.domain

Most used classes

  • ObjectMetadata$StorageClass
  • AccessControlList
    An Access Control List (ACL) describes the access control settings for a bucket or object in S3. ACL
  • ObjectMetadata
    /** Amazon S3 is designed to store objects. Objects are stored in S3BucketListingand consist of a or
  • ObjectMetadataBuilder
    Allows you to create ObjectMetadata objects.
  • ListBucketResponse
    A container that provides namespace, access control and aggregation of S3Objects Every object stor
  • MutableObjectMetadata,
  • AccessControlList$CanonicalUserGrantee,
  • AccessControlList$EmailAddressGrantee,
  • AccessControlList$Grant,
  • BucketLogging,
  • BucketMetadata,
  • CannedAccessPolicy,
  • CanonicalUser,
  • S3Object$Factory,
  • CopyObjectResult,
  • ListBucketResponseImpl,
  • MutableObjectMetadataImpl,
  • AccessControlList$Grantee,
  • AccessControlList$GroupGrantee
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now