public class AccessLog extends Object implements Serializable
Information about the AccessLog attribute.
| Constructor and Description |
|---|
AccessLog() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Integer |
getEmitInterval()
The interval for publishing the access logs.
|
Boolean |
getEnabled()
Specifies whether access logs are enabled for the load balancer.
|
String |
getS3BucketName()
The name of the Amazon S3 bucket where the access logs are stored.
|
String |
getS3BucketPrefix()
The logical hierarchy you created for your Amazon S3 bucket, for example
my-bucket-prefix/prod. |
int |
hashCode() |
Boolean |
isEnabled()
Specifies whether access logs are enabled for the load balancer.
|
void |
setEmitInterval(Integer emitInterval)
The interval for publishing the access logs.
|
void |
setEnabled(Boolean enabled)
Specifies whether access logs are enabled for the load balancer.
|
void |
setS3BucketName(String s3BucketName)
The name of the Amazon S3 bucket where the access logs are stored.
|
void |
setS3BucketPrefix(String s3BucketPrefix)
The logical hierarchy you created for your Amazon S3 bucket, for example
my-bucket-prefix/prod. |
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AccessLog |
withEmitInterval(Integer emitInterval)
The interval for publishing the access logs.
|
AccessLog |
withEnabled(Boolean enabled)
Specifies whether access logs are enabled for the load balancer.
|
AccessLog |
withS3BucketName(String s3BucketName)
The name of the Amazon S3 bucket where the access logs are stored.
|
AccessLog |
withS3BucketPrefix(String s3BucketPrefix)
The logical hierarchy you created for your Amazon S3 bucket, for example
my-bucket-prefix/prod. |
public Boolean isEnabled()
Specifies whether access logs are enabled for the load balancer.
Specifies whether access logs are enabled for the load balancer.
public Boolean getEnabled()
Specifies whether access logs are enabled for the load balancer.
Specifies whether access logs are enabled for the load balancer.
public void setEnabled(Boolean enabled)
Specifies whether access logs are enabled for the load balancer.
enabled - Specifies whether access logs are enabled for the load balancer.
public AccessLog withEnabled(Boolean enabled)
Specifies whether access logs are enabled for the load balancer.
Returns a reference to this object so that method calls can be chained together.
enabled - Specifies whether access logs are enabled for the load balancer.
public String getS3BucketName()
The name of the Amazon S3 bucket where the access logs are stored.
The name of the Amazon S3 bucket where the access logs are stored.
public void setS3BucketName(String s3BucketName)
The name of the Amazon S3 bucket where the access logs are stored.
s3BucketName - The name of the Amazon S3 bucket where the access logs are stored.
public AccessLog withS3BucketName(String s3BucketName)
The name of the Amazon S3 bucket where the access logs are stored.
Returns a reference to this object so that method calls can be chained together.
s3BucketName - The name of the Amazon S3 bucket where the access logs are stored.
public Integer getEmitInterval()
The interval for publishing the access logs. You can specify an interval of either 5 minutes or 60 minutes.
Default: 60 minutes
The interval for publishing the access logs. You can specify an interval of either 5 minutes or 60 minutes.
Default: 60 minutes
public void setEmitInterval(Integer emitInterval)
The interval for publishing the access logs. You can specify an interval of either 5 minutes or 60 minutes.
Default: 60 minutes
emitInterval - The interval for publishing the access logs. You can specify an interval of either 5 minutes or 60 minutes.
Default: 60 minutes
public AccessLog withEmitInterval(Integer emitInterval)
The interval for publishing the access logs. You can specify an interval of either 5 minutes or 60 minutes.
Default: 60 minutes
Returns a reference to this object so that method calls can be chained together.
emitInterval - The interval for publishing the access logs. You can specify an interval of either 5 minutes or 60 minutes.
Default: 60 minutes
public String getS3BucketPrefix()
The logical hierarchy you created for your Amazon S3 bucket, for example
my-bucket-prefix/prod. If the prefix is not provided, the
log is placed at the root level of the bucket.
The logical hierarchy you created for your Amazon S3 bucket, for
example my-bucket-prefix/prod. If the prefix is not
provided, the log is placed at the root level of the bucket.
public void setS3BucketPrefix(String s3BucketPrefix)
The logical hierarchy you created for your Amazon S3 bucket, for example
my-bucket-prefix/prod. If the prefix is not provided, the
log is placed at the root level of the bucket.
s3BucketPrefix -
The logical hierarchy you created for your Amazon S3 bucket,
for example my-bucket-prefix/prod. If the prefix
is not provided, the log is placed at the root level of the
bucket.
public AccessLog withS3BucketPrefix(String s3BucketPrefix)
The logical hierarchy you created for your Amazon S3 bucket, for example
my-bucket-prefix/prod. If the prefix is not provided, the
log is placed at the root level of the bucket.
Returns a reference to this object so that method calls can be chained together.
s3BucketPrefix -
The logical hierarchy you created for your Amazon S3 bucket,
for example my-bucket-prefix/prod. If the prefix
is not provided, the log is placed at the root level of the
bucket.
public String toString()
toString in class ObjectObject.toString()Copyright © 2018. All rights reserved.