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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AccessLog.Builder
emitInterval(Integer emitInterval)
The interval for publishing the access logs.AccessLog.Builder
enabled(Boolean enabled)
Specifies whether access logs are enabled for the load balancer.AccessLog.Builder
s3BucketName(String s3BucketName)
The name of the Amazon S3 bucket where the access logs are stored.AccessLog.Builder
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 Detail
-
enabled
AccessLog.Builder enabled(Boolean 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
AccessLog.Builder s3BucketName(String 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
AccessLog.Builder emitInterval(Integer 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
AccessLog.Builder s3BucketPrefix(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.- 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.
-
-