aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ObjectLockRule.h
diff options
context:
space:
mode:
authorarcadia-devtools <arcadia-devtools@yandex-team.ru>2022-03-02 12:50:27 +0300
committerarcadia-devtools <arcadia-devtools@yandex-team.ru>2022-03-02 12:50:27 +0300
commitd0f80d5e60d77854f9d6262a59a7349e2b21f9d2 (patch)
tree01f1e033ce5519d96b7d6a83718221dcb8021eec /contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ObjectLockRule.h
parent26286f616cee657612a9d820be6da2cdbd4de0ef (diff)
downloadydb-d0f80d5e60d77854f9d6262a59a7349e2b21f9d2.tar.gz
intermediate changes
ref:40ac71fae6ea311a73473cf4297ca93bf27559c3
Diffstat (limited to 'contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ObjectLockRule.h')
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ObjectLockRule.h42
1 files changed, 30 insertions, 12 deletions
diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ObjectLockRule.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ObjectLockRule.h
index 17523929d6..e373cc3dba 100644
--- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ObjectLockRule.h
+++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ObjectLockRule.h
@@ -38,38 +38,56 @@ namespace Model
/**
- * <p>The default retention period that you want to apply to new objects placed in
- * the specified bucket.</p>
+ * <p>The default Object Lock retention mode and period that you want to apply to
+ * new objects placed in the specified bucket. Bucket settings require both a mode
+ * and a period. The period can be either <code>Days</code> or <code>Years</code>
+ * but you must select one. You cannot specify <code>Days</code> and
+ * <code>Years</code> at the same time.</p>
*/
inline const DefaultRetention& GetDefaultRetention() const{ return m_defaultRetention; }
/**
- * <p>The default retention period that you want to apply to new objects placed in
- * the specified bucket.</p>
+ * <p>The default Object Lock retention mode and period that you want to apply to
+ * new objects placed in the specified bucket. Bucket settings require both a mode
+ * and a period. The period can be either <code>Days</code> or <code>Years</code>
+ * but you must select one. You cannot specify <code>Days</code> and
+ * <code>Years</code> at the same time.</p>
*/
inline bool DefaultRetentionHasBeenSet() const { return m_defaultRetentionHasBeenSet; }
/**
- * <p>The default retention period that you want to apply to new objects placed in
- * the specified bucket.</p>
+ * <p>The default Object Lock retention mode and period that you want to apply to
+ * new objects placed in the specified bucket. Bucket settings require both a mode
+ * and a period. The period can be either <code>Days</code> or <code>Years</code>
+ * but you must select one. You cannot specify <code>Days</code> and
+ * <code>Years</code> at the same time.</p>
*/
inline void SetDefaultRetention(const DefaultRetention& value) { m_defaultRetentionHasBeenSet = true; m_defaultRetention = value; }
/**
- * <p>The default retention period that you want to apply to new objects placed in
- * the specified bucket.</p>
+ * <p>The default Object Lock retention mode and period that you want to apply to
+ * new objects placed in the specified bucket. Bucket settings require both a mode
+ * and a period. The period can be either <code>Days</code> or <code>Years</code>
+ * but you must select one. You cannot specify <code>Days</code> and
+ * <code>Years</code> at the same time.</p>
*/
inline void SetDefaultRetention(DefaultRetention&& value) { m_defaultRetentionHasBeenSet = true; m_defaultRetention = std::move(value); }
/**
- * <p>The default retention period that you want to apply to new objects placed in
- * the specified bucket.</p>
+ * <p>The default Object Lock retention mode and period that you want to apply to
+ * new objects placed in the specified bucket. Bucket settings require both a mode
+ * and a period. The period can be either <code>Days</code> or <code>Years</code>
+ * but you must select one. You cannot specify <code>Days</code> and
+ * <code>Years</code> at the same time.</p>
*/
inline ObjectLockRule& WithDefaultRetention(const DefaultRetention& value) { SetDefaultRetention(value); return *this;}
/**
- * <p>The default retention period that you want to apply to new objects placed in
- * the specified bucket.</p>
+ * <p>The default Object Lock retention mode and period that you want to apply to
+ * new objects placed in the specified bucket. Bucket settings require both a mode
+ * and a period. The period can be either <code>Days</code> or <code>Years</code>
+ * but you must select one. You cannot specify <code>Days</code> and
+ * <code>Years</code> at the same time.</p>
*/
inline ObjectLockRule& WithDefaultRetention(DefaultRetention&& value) { SetDefaultRetention(std::move(value)); return *this;}