@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class S3Config extends Object implements Serializable, Cloneable, StructuredPojo
The configuration for publishing Amazon CloudWatch Internet Monitor internet measurements to Amazon S3. The
configuration includes the bucket name and (optionally) prefix for the S3 bucket to store the measurements, and the
delivery status. The delivery status is ENABLED
or DISABLED
, depending on whether you
choose to deliver internet measurements to S3 logs.
Constructor and Description |
---|
S3Config() |
Modifier and Type | Method and Description |
---|---|
S3Config |
clone() |
boolean |
equals(Object obj) |
String |
getBucketName()
The Amazon S3 bucket name.
|
String |
getBucketPrefix()
The Amazon S3 bucket prefix.
|
String |
getLogDeliveryStatus()
The status of publishing Internet Monitor internet measurements to an Amazon S3 bucket.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBucketName(String bucketName)
The Amazon S3 bucket name.
|
void |
setBucketPrefix(String bucketPrefix)
The Amazon S3 bucket prefix.
|
void |
setLogDeliveryStatus(String logDeliveryStatus)
The status of publishing Internet Monitor internet measurements to an Amazon S3 bucket.
|
String |
toString()
Returns a string representation of this object.
|
S3Config |
withBucketName(String bucketName)
The Amazon S3 bucket name.
|
S3Config |
withBucketPrefix(String bucketPrefix)
The Amazon S3 bucket prefix.
|
S3Config |
withLogDeliveryStatus(LogDeliveryStatus logDeliveryStatus)
The status of publishing Internet Monitor internet measurements to an Amazon S3 bucket.
|
S3Config |
withLogDeliveryStatus(String logDeliveryStatus)
The status of publishing Internet Monitor internet measurements to an Amazon S3 bucket.
|
public void setBucketName(String bucketName)
The Amazon S3 bucket name.
bucketName
- The Amazon S3 bucket name.public String getBucketName()
The Amazon S3 bucket name.
public S3Config withBucketName(String bucketName)
The Amazon S3 bucket name.
bucketName
- The Amazon S3 bucket name.public void setBucketPrefix(String bucketPrefix)
The Amazon S3 bucket prefix.
bucketPrefix
- The Amazon S3 bucket prefix.public String getBucketPrefix()
The Amazon S3 bucket prefix.
public S3Config withBucketPrefix(String bucketPrefix)
The Amazon S3 bucket prefix.
bucketPrefix
- The Amazon S3 bucket prefix.public void setLogDeliveryStatus(String logDeliveryStatus)
The status of publishing Internet Monitor internet measurements to an Amazon S3 bucket.
logDeliveryStatus
- The status of publishing Internet Monitor internet measurements to an Amazon S3 bucket.LogDeliveryStatus
public String getLogDeliveryStatus()
The status of publishing Internet Monitor internet measurements to an Amazon S3 bucket.
LogDeliveryStatus
public S3Config withLogDeliveryStatus(String logDeliveryStatus)
The status of publishing Internet Monitor internet measurements to an Amazon S3 bucket.
logDeliveryStatus
- The status of publishing Internet Monitor internet measurements to an Amazon S3 bucket.LogDeliveryStatus
public S3Config withLogDeliveryStatus(LogDeliveryStatus logDeliveryStatus)
The status of publishing Internet Monitor internet measurements to an Amazon S3 bucket.
logDeliveryStatus
- The status of publishing Internet Monitor internet measurements to an Amazon S3 bucket.LogDeliveryStatus
public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.