Enum CfnResourceIndex.Mutability
- java.lang.Object
-
- java.lang.Enum<CfnResourceIndex.Mutability>
-
- software.amazon.smithy.aws.cloudformation.traits.CfnResourceIndex.Mutability
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<CfnResourceIndex.Mutability>
- Enclosing class:
- CfnResourceIndex
public static enum CfnResourceIndex.Mutability extends java.lang.Enum<CfnResourceIndex.Mutability>
Mutability options derived through lifecycle operations or traits. These mutability options are used to derive the CloudFormation mutabilities of the properties they are associated with.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CREATE
Applied when a property was derived from a lifecycle operation that creates a resource or theCfnMutabilityTrait
specifyingfull
,create
, orcreate-and-read
mutability.READ
Applied when a property was derived from a lifecycle operation that retrieves a resource or theCfnMutabilityTrait
specifyingfull
,read
, orcreate-and-read
mutability.WRITE
Applied when a property was derived from a lifecycle operation that updates a resource or theCfnMutabilityTrait
specifyingfull
orwrite
mutability.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CfnResourceIndex.Mutability
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static CfnResourceIndex.Mutability[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CREATE
public static final CfnResourceIndex.Mutability CREATE
Applied when a property was derived from a lifecycle operation that creates a resource or theCfnMutabilityTrait
specifyingfull
,create
, orcreate-and-read
mutability.
-
READ
public static final CfnResourceIndex.Mutability READ
Applied when a property was derived from a lifecycle operation that retrieves a resource or theCfnMutabilityTrait
specifyingfull
,read
, orcreate-and-read
mutability.
-
WRITE
public static final CfnResourceIndex.Mutability WRITE
Applied when a property was derived from a lifecycle operation that updates a resource or theCfnMutabilityTrait
specifyingfull
orwrite
mutability.
-
-
Method Detail
-
values
public static CfnResourceIndex.Mutability[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CfnResourceIndex.Mutability c : CfnResourceIndex.Mutability.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CfnResourceIndex.Mutability valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-