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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default TargetObjectKeyFormat.Builder
partitionedPrefix(Consumer<PartitionedPrefix.Builder> partitionedPrefix)
Partitioned S3 key for log objects.TargetObjectKeyFormat.Builder
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.TargetObjectKeyFormat.Builder
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 Detail
-
simplePrefix
TargetObjectKeyFormat.Builder simplePrefix(SimplePrefix 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
default TargetObjectKeyFormat.Builder simplePrefix(Consumer<SimplePrefix.Builder> 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:
simplePrefix(SimplePrefix)
-
partitionedPrefix
TargetObjectKeyFormat.Builder partitionedPrefix(PartitionedPrefix 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:
partitionedPrefix(PartitionedPrefix)
-
-