JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.795

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
  • Detail:
  • Field |
  • Constr |
  • Method
com.amazonaws.auth.policy.resources

Class S3ObjectResource

    • Constructor Detail

      • S3ObjectResource

        public S3ObjectResource(String bucketName,
         String keyPattern)
        Constructs a new object resource that represents the specified objects. This constructor defaults to the aws partition. Use S3ObjectResource(String, String, String) to specify other partitions if needed. The keyPattern argument may contain the '*' wildcard to match multiple objects. For example, an object resource created for bucket 'mybucket' and key pattern 'foo*' will match any object stored in 'mybucket' with a key that starts with 'foo'.
        Parameters:
        bucketName - The name of the bucket containing the object or objects represented by this resource.
        keyPattern - The key or key pattern, which can optionally contain the '*' wildcard to include multiple objects in the resource.
        See Also:
        S3ObjectResource(String, String, String)
      • S3ObjectResource

        public S3ObjectResource(String partitionName,
         String bucketName,
         String keyPattern)
        Constructs a new object resource that represents the specified objects. The keyPattern argument may contain the '*' wildcard to match multiple objects. For example, an object resource created for bucket 'mybucket' and key pattern 'foo*' will match any object stored in 'mybucket' with a key that starts with 'foo'.
        Parameters:
        partitionName - The name of the partition in which the specified bucket is located.
        bucketName - The name of the bucket containing the object or objects represented by this resource.
        keyPattern - The key or key pattern, which can optionally contain the '*' wildcard to include multiple objects in the resource.
Skip navigation links
  • Detail:
  • Field |
  • Constr |
  • Method

AltStyle によって変換されたページ (->オリジナル) /