Interface TargetObjectKeyFormat.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<TargetObjectKeyFormat.Builder,
,TargetObjectKeyFormat> SdkBuilder<TargetObjectKeyFormat.Builder,
,TargetObjectKeyFormat> SdkPojo
- Enclosing class:
TargetObjectKeyFormat
public static interface TargetObjectKeyFormat.Builder
extends SdkPojo, CopyableBuilder<TargetObjectKeyFormat.Builder,TargetObjectKeyFormat>
-
Method Summary
Modifier and TypeMethodDescriptiondefault TargetObjectKeyFormat.Builder
partitionedPrefix
(Consumer<PartitionedPrefix.Builder> partitionedPrefix) Partitioned S3 key for log objects.partitionedPrefix
(PartitionedPrefix partitionedPrefix) Partitioned S3 key for log objects.default TargetObjectKeyFormat.Builder
simplePrefix
(Consumer<SimplePrefix.Builder> simplePrefix) To use the simple format for S3 keys for log objects.simplePrefix
(SimplePrefix simplePrefix) To use the simple format for S3 keys for log objects.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
-
simplePrefix
To use the simple format for S3 keys for log objects. To specify SimplePrefix format, set SimplePrefix to {}.
- Parameters:
simplePrefix
- To use the simple format for S3 keys for log objects. To specify SimplePrefix format, set SimplePrefix to {}.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
simplePrefix
To use the simple format for S3 keys for log objects. To specify SimplePrefix format, set SimplePrefix to {}.
This is a convenience method that creates an instance of theSimplePrefix.Builder
avoiding the need to create one manually viaSimplePrefix.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosimplePrefix(SimplePrefix)
.- Parameters:
simplePrefix
- a consumer that will call methods onSimplePrefix.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
partitionedPrefix
Partitioned S3 key for log objects.
- Parameters:
partitionedPrefix
- Partitioned S3 key for log objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
partitionedPrefix
default TargetObjectKeyFormat.Builder partitionedPrefix(Consumer<PartitionedPrefix.Builder> partitionedPrefix) Partitioned S3 key for log objects.
This is a convenience method that creates an instance of thePartitionedPrefix.Builder
avoiding the need to create one manually viaPartitionedPrefix.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topartitionedPrefix(PartitionedPrefix)
.- Parameters:
partitionedPrefix
- a consumer that will call methods onPartitionedPrefix.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-