Interface DeleteMarkerEntry.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DeleteMarkerEntry.Builder,
,DeleteMarkerEntry> SdkBuilder<DeleteMarkerEntry.Builder,
,DeleteMarkerEntry> SdkPojo
- Enclosing class:
DeleteMarkerEntry
public static interface DeleteMarkerEntry.Builder
extends SdkPojo, CopyableBuilder<DeleteMarkerEntry.Builder,DeleteMarkerEntry>
-
Method Summary
Modifier and TypeMethodDescriptionSpecifies whether the object is (true) or is not (false) the latest version of an object.The object key.lastModified
(Instant lastModified) Date and time when the object was last modified.default DeleteMarkerEntry.Builder
owner
(Consumer<Owner.Builder> owner) The account that created the delete marker.>The account that created the delete marker.>Version ID of an object.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
-
owner
The account that created the delete marker.>
- Parameters:
owner
- The account that created the delete marker.>- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
owner
The account that created the delete marker.>
This is a convenience method that creates an instance of theOwner.Builder
avoiding the need to create one manually viaOwner.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toowner(Owner)
.- Parameters:
owner
- a consumer that will call methods onOwner.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
key
The object key.
- Parameters:
key
- The object key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
versionId
Version ID of an object.
- Parameters:
versionId
- Version ID of an object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isLatest
Specifies whether the object is (true) or is not (false) the latest version of an object.
- Parameters:
isLatest
- Specifies whether the object is (true) or is not (false) the latest version of an object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModified
Date and time when the object was last modified.
- Parameters:
lastModified
- Date and time when the object was last modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-