JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.793

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.redshift.model

Class DescribeLoggingStatusResult

    • Constructor Detail

      • DescribeLoggingStatusResult

        public DescribeLoggingStatusResult()
    • Method Detail

      • setLoggingEnabled

        public void setLoggingEnabled(Boolean loggingEnabled)

        true if logging is on, false if logging is off.

        Parameters:
        loggingEnabled - true if logging is on, false if logging is off.
      • getLoggingEnabled

        public Boolean getLoggingEnabled()

        true if logging is on, false if logging is off.

        Returns:
        true if logging is on, false if logging is off.
      • withLoggingEnabled

        public DescribeLoggingStatusResult withLoggingEnabled(Boolean loggingEnabled)

        true if logging is on, false if logging is off.

        Parameters:
        loggingEnabled - true if logging is on, false if logging is off.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • isLoggingEnabled

        public Boolean isLoggingEnabled()

        true if logging is on, false if logging is off.

        Returns:
        true if logging is on, false if logging is off.
      • setBucketName

        public void setBucketName(String bucketName)

        The name of the S3 bucket where the log files are stored.

        Parameters:
        bucketName - The name of the S3 bucket where the log files are stored.
      • getBucketName

        public String getBucketName()

        The name of the S3 bucket where the log files are stored.

        Returns:
        The name of the S3 bucket where the log files are stored.
      • withBucketName

        public DescribeLoggingStatusResult withBucketName(String bucketName)

        The name of the S3 bucket where the log files are stored.

        Parameters:
        bucketName - The name of the S3 bucket where the log files are stored.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setS3KeyPrefix

        public void setS3KeyPrefix(String s3KeyPrefix)

        The prefix applied to the log file names.

        Parameters:
        s3KeyPrefix - The prefix applied to the log file names.
      • getS3KeyPrefix

        public String getS3KeyPrefix()

        The prefix applied to the log file names.

        Returns:
        The prefix applied to the log file names.
      • withS3KeyPrefix

        public DescribeLoggingStatusResult withS3KeyPrefix(String s3KeyPrefix)

        The prefix applied to the log file names.

        Parameters:
        s3KeyPrefix - The prefix applied to the log file names.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setLastSuccessfulDeliveryTime

        public void setLastSuccessfulDeliveryTime(Date lastSuccessfulDeliveryTime)

        The last time that logs were delivered.

        Parameters:
        lastSuccessfulDeliveryTime - The last time that logs were delivered.
      • getLastSuccessfulDeliveryTime

        public Date getLastSuccessfulDeliveryTime()

        The last time that logs were delivered.

        Returns:
        The last time that logs were delivered.
      • withLastSuccessfulDeliveryTime

        public DescribeLoggingStatusResult withLastSuccessfulDeliveryTime(Date lastSuccessfulDeliveryTime)

        The last time that logs were delivered.

        Parameters:
        lastSuccessfulDeliveryTime - The last time that logs were delivered.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setLastFailureTime

        public void setLastFailureTime(Date lastFailureTime)

        The last time when logs failed to be delivered.

        Parameters:
        lastFailureTime - The last time when logs failed to be delivered.
      • getLastFailureTime

        public Date getLastFailureTime()

        The last time when logs failed to be delivered.

        Returns:
        The last time when logs failed to be delivered.
      • withLastFailureTime

        public DescribeLoggingStatusResult withLastFailureTime(Date lastFailureTime)

        The last time when logs failed to be delivered.

        Parameters:
        lastFailureTime - The last time when logs failed to be delivered.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setLastFailureMessage

        public void setLastFailureMessage(String lastFailureMessage)

        The message indicating that logs failed to be delivered.

        Parameters:
        lastFailureMessage - The message indicating that logs failed to be delivered.
      • getLastFailureMessage

        public String getLastFailureMessage()

        The message indicating that logs failed to be delivered.

        Returns:
        The message indicating that logs failed to be delivered.
      • withLastFailureMessage

        public DescribeLoggingStatusResult withLastFailureMessage(String lastFailureMessage)

        The message indicating that logs failed to be delivered.

        Parameters:
        lastFailureMessage - The message indicating that logs failed to be delivered.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setLogDestinationType

        public void setLogDestinationType(String logDestinationType)

        The log destination type. An enum with possible values of s3 and cloudwatch.

        Parameters:
        logDestinationType - The log destination type. An enum with possible values of s3 and cloudwatch.
        See Also:
        LogDestinationType
      • getLogDestinationType

        public String getLogDestinationType()

        The log destination type. An enum with possible values of s3 and cloudwatch.

        Returns:
        The log destination type. An enum with possible values of s3 and cloudwatch.
        See Also:
        LogDestinationType
      • withLogDestinationType

        public DescribeLoggingStatusResult withLogDestinationType(String logDestinationType)

        The log destination type. An enum with possible values of s3 and cloudwatch.

        Parameters:
        logDestinationType - The log destination type. An enum with possible values of s3 and cloudwatch.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        LogDestinationType
      • withLogDestinationType

        public DescribeLoggingStatusResult withLogDestinationType(LogDestinationType logDestinationType)

        The log destination type. An enum with possible values of s3 and cloudwatch.

        Parameters:
        logDestinationType - The log destination type. An enum with possible values of s3 and cloudwatch.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        LogDestinationType
      • getLogExports

        public List<String> getLogExports()

        The collection of exported log types. Possible values are connectionlog, useractivitylog, and userlog.

        Returns:
        The collection of exported log types. Possible values are connectionlog, useractivitylog, and userlog.
      • setLogExports

        public void setLogExports(Collection<String> logExports)

        The collection of exported log types. Possible values are connectionlog, useractivitylog, and userlog.

        Parameters:
        logExports - The collection of exported log types. Possible values are connectionlog, useractivitylog, and userlog.
      • withLogExports

        public DescribeLoggingStatusResult withLogExports(String... logExports)

        The collection of exported log types. Possible values are connectionlog, useractivitylog, and userlog.

        NOTE: This method appends the values to the existing list (if any). Use setLogExports(java.util.Collection) or withLogExports(java.util.Collection) if you want to override the existing values.

        Parameters:
        logExports - The collection of exported log types. Possible values are connectionlog, useractivitylog, and userlog.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withLogExports

        public DescribeLoggingStatusResult withLogExports(Collection<String> logExports)

        The collection of exported log types. Possible values are connectionlog, useractivitylog, and userlog.

        Parameters:
        logExports - The collection of exported log types. Possible values are connectionlog, useractivitylog, and userlog.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
Skip navigation links

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