|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.redshift.model.EnableLoggingRequest
public class EnableLoggingRequest
Container for the parameters to the EnableLogging operation
.
Starts logging information, such as queries and connection attempts, for the specified Amazon Redshift cluster.
AmazonRedshift.enableLogging(EnableLoggingRequest)
,
Serialized FormConstructor Summary | |
---|---|
EnableLoggingRequest()
|
Method Summary | |
---|---|
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. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public EnableLoggingRequest()
Method Detail |
---|
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()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |