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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DeleteMarkerEntry.Builder
isLatest(Boolean isLatest)
Specifies whether the object is (true) or is not (false) the latest version of an object.DeleteMarkerEntry.Builder
key(String key)
The object key.DeleteMarkerEntry.Builder
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.>DeleteMarkerEntry.Builder
owner(Owner owner)
The account that created the delete marker.>DeleteMarkerEntry.Builder
versionId(String versionId)
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 Detail
-
owner
DeleteMarkerEntry.Builder owner(Owner 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
default DeleteMarkerEntry.Builder owner(Consumer<Owner.Builder> 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:
owner(Owner)
-
key
DeleteMarkerEntry.Builder key(String 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
DeleteMarkerEntry.Builder versionId(String 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
DeleteMarkerEntry.Builder isLatest(Boolean 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
DeleteMarkerEntry.Builder lastModified(Instant 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.
-
-