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)
Sets the value of the TargetGrants property for this object.
|
LoggingEnabled.Builder |
targetGrants(Consumer<TargetGrant.Builder>... targetGrants)
Sets the value of the TargetGrants property for this object.
|
LoggingEnabled.Builder |
targetGrants(TargetGrant... targetGrants)
Sets the value of the TargetGrants property for this object.
|
LoggingEnabled.Builder |
targetPrefix(String targetPrefix)
This element lets you specify a prefix for the keys that the log files will be stored under.
|
copy
applyMutation, build
LoggingEnabled.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
- The new value for the TargetGrants property for this object.LoggingEnabled.Builder targetGrants(TargetGrant... targetGrants)
targetGrants
- The new value for the TargetGrants property for this object.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.