@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class S3LogDestination extends Object implements Serializable, Cloneable, StructuredPojo
The Amazon S3 logging configuration settings for the pipe.
Constructor and Description |
---|
S3LogDestination() |
Modifier and Type | Method and Description |
---|---|
S3LogDestination |
clone() |
boolean |
equals(Object obj) |
String |
getBucketName()
The name of the Amazon S3 bucket to which EventBridge delivers the log records for the pipe.
|
String |
getBucketOwner()
The Amazon Web Services account that owns the Amazon S3 bucket to which EventBridge delivers the log records for
the pipe.
|
String |
getOutputFormat()
The format EventBridge uses for the log records.
|
String |
getPrefix()
The prefix text with which to begin Amazon S3 log object names.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBucketName(String bucketName)
The name of the Amazon S3 bucket to which EventBridge delivers the log records for the pipe.
|
void |
setBucketOwner(String bucketOwner)
The Amazon Web Services account that owns the Amazon S3 bucket to which EventBridge delivers the log records for
the pipe.
|
void |
setOutputFormat(String outputFormat)
The format EventBridge uses for the log records.
|
void |
setPrefix(String prefix)
The prefix text with which to begin Amazon S3 log object names.
|
String |
toString()
Returns a string representation of this object.
|
S3LogDestination |
withBucketName(String bucketName)
The name of the Amazon S3 bucket to which EventBridge delivers the log records for the pipe.
|
S3LogDestination |
withBucketOwner(String bucketOwner)
The Amazon Web Services account that owns the Amazon S3 bucket to which EventBridge delivers the log records for
the pipe.
|
S3LogDestination |
withOutputFormat(S3OutputFormat outputFormat)
The format EventBridge uses for the log records.
|
S3LogDestination |
withOutputFormat(String outputFormat)
The format EventBridge uses for the log records.
|
S3LogDestination |
withPrefix(String prefix)
The prefix text with which to begin Amazon S3 log object names.
|
public void setBucketName(String bucketName)
The name of the Amazon S3 bucket to which EventBridge delivers the log records for the pipe.
bucketName
- The name of the Amazon S3 bucket to which EventBridge delivers the log records for the pipe.public String getBucketName()
The name of the Amazon S3 bucket to which EventBridge delivers the log records for the pipe.
public S3LogDestination withBucketName(String bucketName)
The name of the Amazon S3 bucket to which EventBridge delivers the log records for the pipe.
bucketName
- The name of the Amazon S3 bucket to which EventBridge delivers the log records for the pipe.public void setPrefix(String prefix)
The prefix text with which to begin Amazon S3 log object names.
For more information, see Organizing objects using prefixes in the Amazon Simple Storage Service User Guide.
prefix
- The prefix text with which to begin Amazon S3 log object names.
For more information, see Organizing objects using prefixes in the Amazon Simple Storage Service User Guide.
public String getPrefix()
The prefix text with which to begin Amazon S3 log object names.
For more information, see Organizing objects using prefixes in the Amazon Simple Storage Service User Guide.
For more information, see Organizing objects using prefixes in the Amazon Simple Storage Service User Guide.
public S3LogDestination withPrefix(String prefix)
The prefix text with which to begin Amazon S3 log object names.
For more information, see Organizing objects using prefixes in the Amazon Simple Storage Service User Guide.
prefix
- The prefix text with which to begin Amazon S3 log object names.
For more information, see Organizing objects using prefixes in the Amazon Simple Storage Service User Guide.
public void setBucketOwner(String bucketOwner)
The Amazon Web Services account that owns the Amazon S3 bucket to which EventBridge delivers the log records for the pipe.
bucketOwner
- The Amazon Web Services account that owns the Amazon S3 bucket to which EventBridge delivers the log
records for the pipe.public String getBucketOwner()
The Amazon Web Services account that owns the Amazon S3 bucket to which EventBridge delivers the log records for the pipe.
public S3LogDestination withBucketOwner(String bucketOwner)
The Amazon Web Services account that owns the Amazon S3 bucket to which EventBridge delivers the log records for the pipe.
bucketOwner
- The Amazon Web Services account that owns the Amazon S3 bucket to which EventBridge delivers the log
records for the pipe.public void setOutputFormat(String outputFormat)
The format EventBridge uses for the log records.
json
: JSON
plain
: Plain text
outputFormat
- The format EventBridge uses for the log records.
json
: JSON
plain
: Plain text
S3OutputFormat
public String getOutputFormat()
The format EventBridge uses for the log records.
json
: JSON
plain
: Plain text
json
: JSON
plain
: Plain text
S3OutputFormat
public S3LogDestination withOutputFormat(String outputFormat)
The format EventBridge uses for the log records.
json
: JSON
plain
: Plain text
outputFormat
- The format EventBridge uses for the log records.
json
: JSON
plain
: Plain text
S3OutputFormat
public S3LogDestination withOutputFormat(S3OutputFormat outputFormat)
The format EventBridge uses for the log records.
json
: JSON
plain
: Plain text
outputFormat
- The format EventBridge uses for the log records.
json
: JSON
plain
: Plain text
S3OutputFormat
public String toString()
toString
in class Object
Object.toString()
public S3LogDestination clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.