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.
com.amazonaws.services.s3.model

Class BucketLoggingConfiguration

    • Constructor Detail

      • BucketLoggingConfiguration

        public BucketLoggingConfiguration(String destinationBucketName,
         String logFilePrefix)
        Creates a new bucket logging configuration which enables server access logs to be collected and stored in the specified destination bucket with the specified log file prefix.
        Parameters:
        destinationBucketName - The name of the bucket to which to delivery server access logs from the target bucket. This may be the same bucket for which logging is being configured.
        logFilePrefix - The optional prefix to append to server access logs when they are written to the destination bucket.
    • Method Detail

      • isLoggingEnabled

        public boolean isLoggingEnabled()
        Returns true if logging is enabled.
        Returns:
        True if logging is enabled.
      • getLogFilePrefix

        public String getLogFilePrefix()
        Returns the optional log file prefix.
        Returns:
        The optional log file prefix.
      • setLogFilePrefix

        public void setLogFilePrefix(String logFilePrefix)
        Sets the log file prefix for this bucket logging configuration.
        Parameters:
        logFilePrefix - The log file prefix for this logging configuration.
      • getDestinationBucketName

        public String getDestinationBucketName()
        Returns the destination bucket name for this logging configuration.
        Returns:
        The destination bucket name for this logging configuration.
      • setDestinationBucketName

        public void setDestinationBucketName(String destinationBucketName)
        Sets the destination bucket name for this logging configuration.
        Parameters:
        destinationBucketName - The destination bucket name for this logging configuration.
Skip navigation links

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