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:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description EnableLoggingRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EnableLoggingRequest
clone()
Creates a shallow clone of this request.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
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
-
-
-
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 classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
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 classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-