public static class RetentionRuleSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
RetentionRuleSummary |
build() |
RetentionRuleSummary.Builder |
copy(RetentionRuleSummary model) |
RetentionRuleSummary.Builder |
displayName(String displayName)
User specified name for the retention rule.
|
RetentionRuleSummary.Builder |
duration(Duration duration) |
RetentionRuleSummary.Builder |
etag(String etag)
The entity tag (ETag) for the retention rule.
|
RetentionRuleSummary.Builder |
id(String id)
Unique identifier for the retention rule.
|
RetentionRuleSummary.Builder |
timeCreated(Date timeCreated)
The date and time that the retention rule was created as per
RFC3339.
|
RetentionRuleSummary.Builder |
timeModified(Date timeModified)
The date and time that the retention rule was modified as per
RFC3339.
|
RetentionRuleSummary.Builder |
timeRuleLocked(Date timeRuleLocked)
The date and time as per RFC 3339 after which this
rule becomes locked.
|
public RetentionRuleSummary.Builder id(String id)
Unique identifier for the retention rule.
id
- the value to setpublic RetentionRuleSummary.Builder displayName(String displayName)
User specified name for the retention rule.
displayName
- the value to setpublic RetentionRuleSummary.Builder duration(Duration duration)
public RetentionRuleSummary.Builder etag(String etag)
The entity tag (ETag) for the retention rule.
etag
- the value to setpublic RetentionRuleSummary.Builder timeRuleLocked(Date timeRuleLocked)
The date and time as per RFC 3339 after which this rule becomes locked. and can only be deleted by deleting the bucket.
timeRuleLocked
- the value to setpublic RetentionRuleSummary.Builder timeCreated(Date timeCreated)
The date and time that the retention rule was created as per RFC3339.
timeCreated
- the value to setpublic RetentionRuleSummary.Builder timeModified(Date timeModified)
The date and time that the retention rule was modified as per RFC3339.
timeModified
- the value to setpublic RetentionRuleSummary build()
public RetentionRuleSummary.Builder copy(RetentionRuleSummary model)
Copyright © 2016–2024. All rights reserved.