Class EnableLoggingRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
The name of an existing S3 bucket where the log files are to be stored.The identifier of the cluster on which logging is to be started.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.toString()
Returns a string representation of this object; useful for testing and debugging.withBucketName
(String bucketName) The name of an existing S3 bucket where the log files are to be stored.withClusterIdentifier
(String clusterIdentifier) The identifier of the cluster on which logging is to be started.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
-
Constructor Details
-
EnableLoggingRequest
public EnableLoggingRequest()
-
-
Method Details
-
setClusterIdentifier
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
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
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
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
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
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
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
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
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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
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:
-