Class AccessLog
- All Implemented Interfaces:
Serializable
,Cloneable
Information about the AccessLog
attribute.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The interval for publishing the access logs.Specifies whether access log is enabled for the load balancer.The name of the Amazon S3 bucket where the access logs are stored.The logical hierarchy you created for your Amazon S3 bucket, for examplemy-bucket-prefix/prod
.int
hashCode()
Specifies whether access log is enabled for the load balancer.void
setEmitInterval
(Integer emitInterval) The interval for publishing the access logs.void
setEnabled
(Boolean enabled) Specifies whether access log is 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 examplemy-bucket-prefix/prod
.toString()
Returns a string representation of this object; useful for testing and debugging.withEmitInterval
(Integer emitInterval) The interval for publishing the access logs.withEnabled
(Boolean enabled) Specifies whether access log is enabled for the load balancer.withS3BucketName
(String s3BucketName) The name of the Amazon S3 bucket where the access logs are stored.withS3BucketPrefix
(String s3BucketPrefix) The logical hierarchy you created for your Amazon S3 bucket, for examplemy-bucket-prefix/prod
.
-
Constructor Details
-
AccessLog
public AccessLog()
-
-
Method Details
-
setEnabled
Specifies whether access log is enabled for the load balancer.
- Parameters:
enabled
- Specifies whether access log is enabled for the load balancer.
-
getEnabled
Specifies whether access log is enabled for the load balancer.
- Returns:
- Specifies whether access log is enabled for the load balancer.
-
withEnabled
Specifies whether access log is enabled for the load balancer.
- Parameters:
enabled
- Specifies whether access log is enabled for the load balancer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isEnabled
Specifies whether access log is enabled for the load balancer.
- Returns:
- Specifies whether access log is enabled for the load balancer.
-
setS3BucketName
The name of the Amazon S3 bucket where the access logs are stored.
- Parameters:
s3BucketName
- The name of the Amazon S3 bucket where the access logs are stored.
-
getS3BucketName
The name of the Amazon S3 bucket where the access logs are stored.
- Returns:
- The name of the Amazon S3 bucket where the access logs are stored.
-
withS3BucketName
The name of the Amazon S3 bucket where the access logs are stored.
- Parameters:
s3BucketName
- The name of the Amazon S3 bucket where the access logs are stored.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setEmitInterval
The interval for publishing the access logs. You can specify an interval of either 5 minutes or 60 minutes.
Default: 60 minutes
- Parameters:
emitInterval
- The interval for publishing the access logs. You can specify an interval of either 5 minutes or 60 minutes.Default: 60 minutes
-
getEmitInterval
The interval for publishing the access logs. You can specify an interval of either 5 minutes or 60 minutes.
Default: 60 minutes
- Returns:
- The interval for publishing the access logs. You can specify an
interval of either 5 minutes or 60 minutes.
Default: 60 minutes
-
withEmitInterval
The interval for publishing the access logs. You can specify an interval of either 5 minutes or 60 minutes.
Default: 60 minutes
- Parameters:
emitInterval
- The interval for publishing the access logs. You can specify an interval of either 5 minutes or 60 minutes.Default: 60 minutes
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setS3BucketPrefix
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.- Parameters:
s3BucketPrefix
- The logical hierarchy you created for your Amazon S3 bucket, for examplemy-bucket-prefix/prod
. If the prefix is not provided, the log is placed at the root level of the bucket.
-
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.- Returns:
- 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.
-
withS3BucketPrefix
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.- Parameters:
s3BucketPrefix
- The logical hierarchy you created for your Amazon S3 bucket, for examplemy-bucket-prefix/prod
. If the prefix is not provided, the log is placed at the root level of the bucket.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-