Class EnableLoggingRequest

java.lang.Object
com.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.redshift.model.EnableLoggingRequest
All Implemented Interfaces:
ReadLimitInfo, Serializable, Cloneable

public class EnableLoggingRequest extends AmazonWebServiceRequest implements Serializable, Cloneable

See Also:
  • Constructor Details

    • EnableLoggingRequest

      public EnableLoggingRequest()
  • Method Details

    • setClusterIdentifier

      public void setClusterIdentifier(String clusterIdentifier)

      The identifier of the cluster on which logging is to be started.

      Example: examplecluster

      Parameters:
      clusterIdentifier - The identifier of the cluster on which logging is to be started.

      Example: examplecluster

    • getClusterIdentifier

      public String getClusterIdentifier()

      The identifier of the cluster on which logging is to be started.

      Example: examplecluster

      Returns:
      The identifier of the cluster on which logging is to be started.

      Example: examplecluster

    • withClusterIdentifier

      public EnableLoggingRequest withClusterIdentifier(String clusterIdentifier)

      The identifier of the cluster on which logging is to be started.

      Example: examplecluster

      Parameters:
      clusterIdentifier - The identifier of the cluster on which logging is to be started.

      Example: examplecluster

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setBucketName

      public void setBucketName(String bucketName)

      The name of an existing S3 bucket where the log files are to be stored.

      Constraints:

      • Must be in the same region as the cluster
      • The cluster must have read bucket and put object permissions
      Parameters:
      bucketName - The name of an existing S3 bucket where the log files are to be stored.

      Constraints:

      • Must be in the same region as the cluster
      • The cluster must have read bucket and put object permissions
    • getBucketName

      public String getBucketName()

      The name of an existing S3 bucket where the log files are to be stored.

      Constraints:

      • Must be in the same region as the cluster
      • The cluster must have read bucket and put object permissions
      Returns:
      The name of an existing S3 bucket where the log files are to be stored.

      Constraints:

      • Must be in the same region as the cluster
      • The cluster must have read bucket and put object permissions
    • withBucketName

      public EnableLoggingRequest withBucketName(String bucketName)

      The name of an existing S3 bucket where the log files are to be stored.

      Constraints:

      • Must be in the same region as the cluster
      • The cluster must have read bucket and put object permissions
      Parameters:
      bucketName - The name of an existing S3 bucket where the log files are to be stored.

      Constraints:

      • Must be in the same region as the cluster
      • The cluster must have read bucket and put object permissions
      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.

      Constraints:

      • Cannot exceed 512 characters
      • Cannot contain spaces( ), double quotes ("), single quotes ('), a backslash (\), or control characters. The hexadecimal codes for invalid characters are:
        • x00 to x20
        • x22
        • x27
        • x5c
        • x7f or larger
      Parameters:
      s3KeyPrefix - The prefix applied to the log file names.

      Constraints:

      • Cannot exceed 512 characters
      • Cannot contain spaces( ), double quotes ("), single quotes ('), a backslash (\), or control characters. The hexadecimal codes for invalid characters are:
        • x00 to x20
        • x22
        • x27
        • x5c
        • x7f or larger
    • getS3KeyPrefix

      public String getS3KeyPrefix()

      The prefix applied to the log file names.

      Constraints:

      • Cannot exceed 512 characters
      • Cannot contain spaces( ), double quotes ("), single quotes ('), a backslash (\), or control characters. The hexadecimal codes for invalid characters are:
        • x00 to x20
        • x22
        • x27
        • x5c
        • x7f or larger
      Returns:
      The prefix applied to the log file names.

      Constraints:

      • Cannot exceed 512 characters
      • Cannot contain spaces( ), double quotes ("), single quotes ('), a backslash (\), or control characters. The hexadecimal codes for invalid characters are:
        • x00 to x20
        • x22
        • x27
        • x5c
        • x7f or larger
    • withS3KeyPrefix

      public EnableLoggingRequest withS3KeyPrefix(String s3KeyPrefix)

      The prefix applied to the log file names.

      Constraints:

      • Cannot exceed 512 characters
      • Cannot contain spaces( ), double quotes ("), single quotes ('), a backslash (\), or control characters. The hexadecimal codes for invalid characters are:
        • x00 to x20
        • x22
        • x27
        • x5c
        • x7f or larger
      Parameters:
      s3KeyPrefix - The prefix applied to the log file names.

      Constraints:

      • Cannot exceed 512 characters
      • Cannot contain spaces( ), double quotes ("), single quotes ('), a backslash (\), or control characters. The hexadecimal codes for invalid characters are:
        • x00 to x20
        • x22
        • x27
        • x5c
        • x7f or larger
      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; useful for testing and debugging.
      Overrides:
      toString in class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public EnableLoggingRequest clone()
      Description copied from class: AmazonWebServiceRequest
      Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.
      Overrides:
      clone in class AmazonWebServiceRequest
      See Also: