@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:37.190Z") @Stability(value=Stable) public enum ReadWriteType extends Enum<ReadWriteType>
Example:
Trail trail = Trail.Builder.create(this, "CloudTrail")
// ...
.managementEvents(ReadWriteType.READ_ONLY)
.build();
| Enum Constant and Description |
|---|
ALL
All events.
|
NONE
No events.
|
READ_ONLY
Read-only events include API operations that read your resources, but don't make changes.
|
WRITE_ONLY
Write-only events include API operations that modify (or might modify) your resources.
|
| Modifier and Type | Method and Description |
|---|---|
static ReadWriteType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReadWriteType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@Stability(value=Stable) public static final ReadWriteType READ_ONLY
For example, read-only events include the Amazon EC2 DescribeSecurityGroups and DescribeSubnets API operations.
@Stability(value=Stable) public static final ReadWriteType WRITE_ONLY
For example, the Amazon EC2 RunInstances and TerminateInstances API operations modify your instances.
@Stability(value=Stable) public static final ReadWriteType ALL
@Stability(value=Stable) public static final ReadWriteType NONE
public static ReadWriteType[] values()
for (ReadWriteType c : ReadWriteType.values()) System.out.println(c);
public static ReadWriteType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2022. All rights reserved.