public class EnableLoggingRequest extends AmazonWebServiceRequest implements Serializable
EnableLogging operation
.
Starts logging information, such as queries and connection attempts, for the specified Amazon Redshift cluster.
NOOP
Constructor and Description |
---|
EnableLoggingRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getBucketName()
The name of an existing S3 bucket where the log files are to be
stored.
|
String |
getClusterIdentifier()
The identifier of the cluster on which logging is to be started.
|
String |
getS3KeyPrefix()
The prefix applied to the log file names.
|
int |
hashCode() |
void |
setBucketName(String bucketName)
The name of an existing S3 bucket where the log files are to be
stored.
|
void |
setClusterIdentifier(String clusterIdentifier)
The identifier of the cluster on which logging is to be started.
|
void |
setS3KeyPrefix(String s3KeyPrefix)
The prefix applied to the log file names.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
EnableLoggingRequest |
withBucketName(String bucketName)
The name of an existing S3 bucket where the log files are to be
stored.
|
EnableLoggingRequest |
withClusterIdentifier(String clusterIdentifier)
The identifier of the cluster on which logging is to be started.
|
EnableLoggingRequest |
withS3KeyPrefix(String s3KeyPrefix)
The prefix applied to the log file names.
|
copyPrivateRequestParameters, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public String getClusterIdentifier()
Example: examplecluster
Example: examplecluster
public void setClusterIdentifier(String clusterIdentifier)
Example: examplecluster
clusterIdentifier
- The identifier of the cluster on which logging is to be started.
Example: examplecluster
public EnableLoggingRequest withClusterIdentifier(String clusterIdentifier)
Example: examplecluster
Returns a reference to this object so that method calls can be chained together.
clusterIdentifier
- The identifier of the cluster on which logging is to be started.
Example: examplecluster
public String getBucketName()
Constraints:
Constraints:
public void setBucketName(String bucketName)
Constraints:
bucketName
- The name of an existing S3 bucket where the log files are to be
stored. Constraints:
public EnableLoggingRequest withBucketName(String bucketName)
Constraints:
Returns a reference to this object so that method calls can be chained together.
bucketName
- The name of an existing S3 bucket where the log files are to be
stored. Constraints:
public String getS3KeyPrefix()
Constraints:
Constraints:
public void setS3KeyPrefix(String s3KeyPrefix)
Constraints:
s3KeyPrefix
- The prefix applied to the log file names. Constraints:
public EnableLoggingRequest withS3KeyPrefix(String s3KeyPrefix)
Constraints:
Returns a reference to this object so that method calls can be chained together.
s3KeyPrefix
- The prefix applied to the log file names. Constraints:
public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.