public static interface LoggingEnabled.Builder extends SdkPojo, CopyableBuilder<LoggingEnabled.Builder,LoggingEnabled>
| Modifier and Type | Method and Description |
|---|---|
LoggingEnabled.Builder |
targetBucket(String targetBucket)
Specifies the bucket where you want Amazon S3 to store server access logs.
|
LoggingEnabled.Builder |
targetGrants(Collection<TargetGrant> targetGrants)
|
LoggingEnabled.Builder |
targetGrants(Consumer<TargetGrant.Builder>... targetGrants)
This is a convenience that creates an instance of the
List avoiding the need to
create one manually via List. |
LoggingEnabled.Builder |
targetGrants(TargetGrant... targetGrants)
|
LoggingEnabled.Builder |
targetPrefix(String targetPrefix)
This element lets you specify a prefix for the keys that the log files will be stored under.
|
copyapplyMutation, buildLoggingEnabled.Builder targetBucket(String targetBucket)
Specifies the bucket where you want Amazon S3 to store server access logs. You can have your logs delivered to any bucket that you own, including the same bucket that is being logged. You can also configure multiple buckets to deliver their logs to the same target bucket. In this case you should choose a different TargetPrefix for each source bucket so that the delivered log files can be distinguished by key.
targetBucket - Specifies the bucket where you want Amazon S3 to store server access logs. You can have your logs
delivered to any bucket that you own, including the same bucket that is being logged. You can also
configure multiple buckets to deliver their logs to the same target bucket. In this case you should
choose a different TargetPrefix for each source bucket so that the delivered log files can be
distinguished by key.LoggingEnabled.Builder targetGrants(Collection<TargetGrant> targetGrants)
targetGrants - LoggingEnabled.Builder targetGrants(TargetGrant... targetGrants)
targetGrants - LoggingEnabled.Builder targetGrants(Consumer<TargetGrant.Builder>... targetGrants)
List.Builder avoiding the need to
create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its
result is passed to #targetGrants(List) .targetGrants - a consumer that will call methods on List.Builder #targetGrants(List) LoggingEnabled.Builder targetPrefix(String targetPrefix)
This element lets you specify a prefix for the keys that the log files will be stored under.
targetPrefix - This element lets you specify a prefix for the keys that the log files will be stored under.Copyright © 2019. All rights reserved.