@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class VerifiedAccessLogS3DestinationOptions extends Object implements Serializable, Cloneable
Options for Amazon S3 as a logging destination.
Constructor and Description |
---|
VerifiedAccessLogS3DestinationOptions() |
Modifier and Type | Method and Description |
---|---|
VerifiedAccessLogS3DestinationOptions |
clone() |
boolean |
equals(Object obj) |
String |
getBucketName()
The bucket name.
|
String |
getBucketOwner()
The ID of the Amazon Web Services account that owns the Amazon S3 bucket.
|
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 ID of the Amazon Web Services account that owns the Amazon S3 bucket.
|
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.
|
VerifiedAccessLogS3DestinationOptions |
withBucketName(String bucketName)
The bucket name.
|
VerifiedAccessLogS3DestinationOptions |
withBucketOwner(String bucketOwner)
The ID of the Amazon Web Services account that owns the Amazon S3 bucket.
|
VerifiedAccessLogS3DestinationOptions |
withEnabled(Boolean enabled)
Indicates whether logging is enabled.
|
VerifiedAccessLogS3DestinationOptions |
withPrefix(String prefix)
The bucket prefix.
|
public VerifiedAccessLogS3DestinationOptions()
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 VerifiedAccessLogS3DestinationOptions withEnabled(Boolean enabled)
Indicates whether logging is enabled.
enabled
- Indicates whether logging is enabled.public Boolean isEnabled()
Indicates whether logging is enabled.
public void setBucketName(String bucketName)
The bucket name.
bucketName
- The bucket name.public String getBucketName()
The bucket name.
public VerifiedAccessLogS3DestinationOptions 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 VerifiedAccessLogS3DestinationOptions withPrefix(String prefix)
The bucket prefix.
prefix
- The bucket prefix.public void setBucketOwner(String bucketOwner)
The ID of the Amazon Web Services account that owns the Amazon S3 bucket.
bucketOwner
- The ID of the Amazon Web Services account that owns the Amazon S3 bucket.public String getBucketOwner()
The ID of the Amazon Web Services account that owns the Amazon S3 bucket.
public VerifiedAccessLogS3DestinationOptions withBucketOwner(String bucketOwner)
The ID of the Amazon Web Services account that owns the Amazon S3 bucket.
bucketOwner
- The ID of the Amazon Web Services account that owns the Amazon S3 bucket.public String toString()
toString
in class Object
Object.toString()
public VerifiedAccessLogS3DestinationOptions clone()