Interface AccessLog.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AccessLog.Builder,
,AccessLog> SdkBuilder<AccessLog.Builder,
,AccessLog> SdkPojo
- Enclosing class:
AccessLog
public static interface AccessLog.Builder
extends SdkPojo, CopyableBuilder<AccessLog.Builder,AccessLog>
-
Method Summary
Modifier and TypeMethodDescriptionemitInterval
(Integer emitInterval) The interval for publishing the access logs.Specifies whether access logs are enabled for the load balancer.s3BucketName
(String s3BucketName) The name of the Amazon S3 bucket where the access logs are stored.s3BucketPrefix
(String s3BucketPrefix) The logical hierarchy you created for your Amazon S3 bucket, for examplemy-bucket-prefix/prod
.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
enabled
Specifies whether access logs are enabled for the load balancer.
- Parameters:
enabled
- Specifies whether access logs are enabled for the load balancer.- Returns:
- 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.
- 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.
-
emitInterval
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.
-
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.- 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.
-