类 SetBucketLoggingRequest


  • public class SetBucketLoggingRequest
    extends GenericBucketRequest
    Request object containing all the options for setting a bucket's Logging.
    • 构造器详细资料

      • SetBucketLoggingRequest

        public SetBucketLoggingRequest()
      • SetBucketLoggingRequest

        public SetBucketLoggingRequest​(String bucketName,
                                       String targetBucket,
                                       String targetPrefix)
        Constructs a new SetBucketLoggingRequest object, ready to set the specified Bucket Logging.
        参数:
        bucketName -
        targetBucket - The targetBucket of Bucket Logging.
        targetPrefix - The targetPrefix of Bucket Logging.
      • SetBucketLoggingRequest

        public SetBucketLoggingRequest​(String bucketName,
                                       String jsonPutBucketLogging)
        Constructs a new SetBucketLoggingRequest object, ready to set the specified Bucket Logging.
        参数:
        bucketName -
        jsonPutBucketLogging - The jsonPutBucketLogging of Bucket Logging.
    • 方法详细资料

      • getTargetBucket

        public String getTargetBucket()
        Gets the targetBucket of Bucket Logging.
        返回:
        the targetBucket of Bucket Logging.
      • setTargetBucket

        public void setTargetBucket​(String targetBucket)
        Sets the targetBucket of Bucket Logging.
        参数:
        targetBucket - The targetBucket of Bucket Logging.
      • getTargetPrefix

        public String getTargetPrefix()
        Gets the targetPrefix of Bucket Logging.
        返回:
        the targetPrefix of Bucket Logging.
      • setTargetPrefix

        public void setTargetPrefix​(String targetPrefix)
        Sets the targetPrefix of Bucket Logging.
        参数:
        targetPrefix - The targetBucket of Bucket Logging.
      • getJsonPutBucketLogging

        public String getJsonPutBucketLogging()
        Gets the jsonPutBucketLogging of Bucket Logging.
        返回:
        the jsonPutBucketLogging of Bucket Logging.
      • setJsonPutBucketLogging

        public void setJsonPutBucketLogging​(String jsonPutBucketLogging)
        Sets the jsonPutBucketLogging of Bucket Logging.
        参数:
        jsonPutBucketLogging - The targetBucket of Bucket Logging.