@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsS3BucketLoggingConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Information about logging for the S3 bucket
Constructor and Description |
---|
AwsS3BucketLoggingConfiguration() |
Modifier and Type | Method and Description |
---|---|
AwsS3BucketLoggingConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getDestinationBucketName()
The name of the S3 bucket where log files for the S3 bucket are stored.
|
String |
getLogFilePrefix()
The prefix added to log files for the S3 bucket.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDestinationBucketName(String destinationBucketName)
The name of the S3 bucket where log files for the S3 bucket are stored.
|
void |
setLogFilePrefix(String logFilePrefix)
The prefix added to log files for the S3 bucket.
|
String |
toString()
Returns a string representation of this object.
|
AwsS3BucketLoggingConfiguration |
withDestinationBucketName(String destinationBucketName)
The name of the S3 bucket where log files for the S3 bucket are stored.
|
AwsS3BucketLoggingConfiguration |
withLogFilePrefix(String logFilePrefix)
The prefix added to log files for the S3 bucket.
|
public void setDestinationBucketName(String destinationBucketName)
The name of the S3 bucket where log files for the S3 bucket are stored.
destinationBucketName
- The name of the S3 bucket where log files for the S3 bucket are stored.public String getDestinationBucketName()
The name of the S3 bucket where log files for the S3 bucket are stored.
public AwsS3BucketLoggingConfiguration withDestinationBucketName(String destinationBucketName)
The name of the S3 bucket where log files for the S3 bucket are stored.
destinationBucketName
- The name of the S3 bucket where log files for the S3 bucket are stored.public void setLogFilePrefix(String logFilePrefix)
The prefix added to log files for the S3 bucket.
logFilePrefix
- The prefix added to log files for the S3 bucket.public String getLogFilePrefix()
The prefix added to log files for the S3 bucket.
public AwsS3BucketLoggingConfiguration withLogFilePrefix(String logFilePrefix)
The prefix added to log files for the S3 bucket.
logFilePrefix
- The prefix added to log files for the S3 bucket.public String toString()
toString
in class Object
Object.toString()
public AwsS3BucketLoggingConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.