Enum Class RetentionModeEnums
- 所有已实现的接口:
cn.herodotus.engine.assistant.core.definition.enums.BaseUiEnum<Integer>,cn.herodotus.engine.assistant.core.definition.enums.EnumDescription,cn.herodotus.engine.assistant.core.definition.enums.EnumValue<Integer>,Serializable,Comparable<RetentionModeEnums>,Constable
public enum RetentionModeEnums
extends Enum<RetentionModeEnums>
implements cn.herodotus.engine.assistant.core.definition.enums.BaseUiEnum<Integer>
Description: 保留模式
- 作者:
- : gengwei.zheng
- Date:
- : 2023/6/5 21:45
-
嵌套类概要
从类继承的嵌套类/接口 java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
枚举常量概要
枚举常量 -
方法概要
修饰符和类型方法说明static RetentionModeEnumsgetValue()不加@JsonValue,转换的时候转换出完整的对象。static RetentionModeEnumsReturns the enum constant of this class with the specified name.static RetentionModeEnums[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
枚举常量详细资料
-
GOVERNANCE
治理模式。用户不能覆盖或删除对象版本或更改其锁定设置。 要覆盖或删除治理模式保留设置,用户必须拥有 `s3:BypassGovernanceRetention` 权限,并且必须明确包括 `x-amz-bypass-governance-retention:true` 作为任何要求覆盖治理模式的请求的请求头。 -
COMPLIANCE
合规模式。任何用户都不能覆盖或删除受保护对象版本
-
-
方法详细资料
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- 返回:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- 参数:
name- 要返回的枚举常量的名称。- 返回:
- 返回带有指定名称的枚举常量
- 抛出:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- 如果参数为空值
-
get
-
getPreprocessedJsonStructure
-
getValue
不加@JsonValue,转换的时候转换出完整的对象。 加了@JsonValue,只会显示相应的属性的值不使用@JsonValue @JsonDeserializer类里面要做相应的处理
- 指定者:
getValue在接口中cn.herodotus.engine.assistant.core.definition.enums.EnumValue<Integer>- 返回:
- Enum枚举值
-
getDescription
- 指定者:
getDescription在接口中cn.herodotus.engine.assistant.core.definition.enums.EnumDescription
-