congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
org.jclouds.s3.domain
Code IndexAdd Tabnine 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)

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 org.jc
  • 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
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now