public static final class SetObjectRetentionArgs.Builder extends ObjectVersionArgs.Builder<SetObjectRetentionArgs.Builder,SetObjectRetentionArgs>
SetObjectRetentionArgs
.skipValidation
operations
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
SetObjectRetentionArgs.Builder |
bypassGovernanceMode(boolean bypassGovernanceMode) |
SetObjectRetentionArgs.Builder |
config(Retention config) |
protected void |
validate(SetObjectRetentionArgs args) |
versionId
object, validateObjectName
bucket, region, skipValidation, validateBucketName
build, copyMultimap, extraHeaders, extraHeaders, extraQueryParams, extraQueryParams, toMultimap, validateNotEmptyString, validateNotNull, validateNullOrNotEmptyString, validateNullOrPositive
protected void validate(SetObjectRetentionArgs args)
validate
in class ObjectArgs.Builder<SetObjectRetentionArgs.Builder,SetObjectRetentionArgs>
public SetObjectRetentionArgs.Builder config(Retention config)
public SetObjectRetentionArgs.Builder bypassGovernanceMode(boolean bypassGovernanceMode)