Class EnableLoggingRequest

    • Constructor Detail

      • EnableLoggingRequest

        public EnableLoggingRequest()
    • Method Detail

      • 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:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object