@Generated(value="software.amazon.awssdk:codegen") public class EnableLoggingRequest extends RedshiftRequest implements ToCopyableBuilder<EnableLoggingRequest.Builder,EnableLoggingRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
EnableLoggingRequest.Builder |
Modifier and Type | Method and Description |
---|---|
String |
bucketName()
The name of an existing S3 bucket where the log files are to be stored.
|
static EnableLoggingRequest.Builder |
builder() |
String |
clusterIdentifier()
The identifier of the cluster on which logging is to be started.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
String |
s3KeyPrefix()
The prefix applied to the log file names.
|
static Class<? extends EnableLoggingRequest.Builder> |
serializableBuilderClass() |
EnableLoggingRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
requestOverrideConfig
copy
public String clusterIdentifier()
The identifier of the cluster on which logging is to be started.
Example: examplecluster
Example: examplecluster
public 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
Constraints:
Must be in the same region as the cluster
The cluster must have read bucket and put object permissions
public 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
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
public EnableLoggingRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<EnableLoggingRequest.Builder,EnableLoggingRequest>
toBuilder
in class RedshiftRequest
public static EnableLoggingRequest.Builder builder()
public static Class<? extends EnableLoggingRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.