Interface RenameKeyEntry.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RenameKeyEntry.Builder,
,RenameKeyEntry> SdkBuilder<RenameKeyEntry.Builder,
,RenameKeyEntry> SdkPojo
- Enclosing class:
RenameKeyEntry
@Mutable
@NotThreadSafe
public static interface RenameKeyEntry.Builder
extends SdkPojo, CopyableBuilder<RenameKeyEntry.Builder,RenameKeyEntry>
-
Method Summary
Modifier and TypeMethodDescriptionThe key to renameoverwriteIfExists
(Boolean overwriteIfExists) Specifies whether to overwrite the existing value if the destination key already exists.The string to use for the new key nameMethods 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, sdkFieldNameToField, sdkFields
-
Method Details
-
key
The key to rename
- Parameters:
key
- The key to rename- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
renameTo
The string to use for the new key name
- Parameters:
renameTo
- The string to use for the new key name- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overwriteIfExists
Specifies whether to overwrite the existing value if the destination key already exists. The default is
false
- Parameters:
overwriteIfExists
- Specifies whether to overwrite the existing value if the destination key already exists. The default isfalse
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-