@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class VerifiedAccessLogS3Destination extends Object implements Serializable, Cloneable
Options for Amazon S3 as a logging destination.
Constructor and Description |
---|
VerifiedAccessLogS3Destination() |
Modifier and Type | Method and Description |
---|---|
VerifiedAccessLogS3Destination |
clone() |
boolean |
equals(Object obj) |
String |
getBucketName()
The bucket name.
|
String |
getBucketOwner()
The Amazon Web Services account number that owns the bucket.
|
VerifiedAccessLogDeliveryStatus |
getDeliveryStatus()
The delivery status.
|
Boolean |
getEnabled()
Indicates whether logging is enabled.
|
String |
getPrefix()
The bucket prefix.
|
int |
hashCode() |
Boolean |
isEnabled()
Indicates whether logging is enabled.
|
void |
setBucketName(String bucketName)
The bucket name.
|
void |
setBucketOwner(String bucketOwner)
The Amazon Web Services account number that owns the bucket.
|
void |
setDeliveryStatus(VerifiedAccessLogDeliveryStatus deliveryStatus)
The delivery status.
|
void |
setEnabled(Boolean enabled)
Indicates whether logging is enabled.
|
void |
setPrefix(String prefix)
The bucket prefix.
|
String |
toString()
Returns a string representation of this object.
|
VerifiedAccessLogS3Destination |
withBucketName(String bucketName)
The bucket name.
|
VerifiedAccessLogS3Destination |
withBucketOwner(String bucketOwner)
The Amazon Web Services account number that owns the bucket.
|
VerifiedAccessLogS3Destination |
withDeliveryStatus(VerifiedAccessLogDeliveryStatus deliveryStatus)
The delivery status.
|
VerifiedAccessLogS3Destination |
withEnabled(Boolean enabled)
Indicates whether logging is enabled.
|
VerifiedAccessLogS3Destination |
withPrefix(String prefix)
The bucket prefix.
|
public void setEnabled(Boolean enabled)
Indicates whether logging is enabled.
enabled
- Indicates whether logging is enabled.public Boolean getEnabled()
Indicates whether logging is enabled.
public VerifiedAccessLogS3Destination withEnabled(Boolean enabled)
Indicates whether logging is enabled.
enabled
- Indicates whether logging is enabled.public Boolean isEnabled()
Indicates whether logging is enabled.
public void setDeliveryStatus(VerifiedAccessLogDeliveryStatus deliveryStatus)
The delivery status.
deliveryStatus
- The delivery status.public VerifiedAccessLogDeliveryStatus getDeliveryStatus()
The delivery status.
public VerifiedAccessLogS3Destination withDeliveryStatus(VerifiedAccessLogDeliveryStatus deliveryStatus)
The delivery status.
deliveryStatus
- The delivery status.public void setBucketName(String bucketName)
The bucket name.
bucketName
- The bucket name.public String getBucketName()
The bucket name.
public VerifiedAccessLogS3Destination withBucketName(String bucketName)
The bucket name.
bucketName
- The bucket name.public void setPrefix(String prefix)
The bucket prefix.
prefix
- The bucket prefix.public String getPrefix()
The bucket prefix.
public VerifiedAccessLogS3Destination withPrefix(String prefix)
The bucket prefix.
prefix
- The bucket prefix.public void setBucketOwner(String bucketOwner)
The Amazon Web Services account number that owns the bucket.
bucketOwner
- The Amazon Web Services account number that owns the bucket.public String getBucketOwner()
The Amazon Web Services account number that owns the bucket.
public VerifiedAccessLogS3Destination withBucketOwner(String bucketOwner)
The Amazon Web Services account number that owns the bucket.
bucketOwner
- The Amazon Web Services account number that owns the bucket.public String toString()
toString
in class Object
Object.toString()
public VerifiedAccessLogS3Destination clone()