public static interface EventParameters.Builder extends SdkPojo, CopyableBuilder<EventParameters.Builder,EventParameters>
| Modifier and Type | Method and Description |
|---|---|
EventParameters.Builder |
descriptionRegex(String descriptionRegex)
The snapshot description that can trigger the policy.
|
EventParameters.Builder |
eventType(EventTypeValues eventType)
The type of event.
|
EventParameters.Builder |
eventType(String eventType)
The type of event.
|
EventParameters.Builder |
snapshotOwner(Collection<String> snapshotOwner)
The IDs of the Amazon Web Services accounts that can trigger policy by sharing snapshots with your account.
|
EventParameters.Builder |
snapshotOwner(String... snapshotOwner)
The IDs of the Amazon Web Services accounts that can trigger policy by sharing snapshots with your account.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildEventParameters.Builder eventType(String eventType)
The type of event. Currently, only snapshot sharing events are supported.
eventType - The type of event. Currently, only snapshot sharing events are supported.EventTypeValues,
EventTypeValuesEventParameters.Builder eventType(EventTypeValues eventType)
The type of event. Currently, only snapshot sharing events are supported.
eventType - The type of event. Currently, only snapshot sharing events are supported.EventTypeValues,
EventTypeValuesEventParameters.Builder snapshotOwner(Collection<String> snapshotOwner)
The IDs of the Amazon Web Services accounts that can trigger policy by sharing snapshots with your account. The policy only runs if one of the specified Amazon Web Services accounts shares a snapshot with your account.
snapshotOwner - The IDs of the Amazon Web Services accounts that can trigger policy by sharing snapshots with your
account. The policy only runs if one of the specified Amazon Web Services accounts shares a snapshot
with your account.EventParameters.Builder snapshotOwner(String... snapshotOwner)
The IDs of the Amazon Web Services accounts that can trigger policy by sharing snapshots with your account. The policy only runs if one of the specified Amazon Web Services accounts shares a snapshot with your account.
snapshotOwner - The IDs of the Amazon Web Services accounts that can trigger policy by sharing snapshots with your
account. The policy only runs if one of the specified Amazon Web Services accounts shares a snapshot
with your account.EventParameters.Builder descriptionRegex(String descriptionRegex)
The snapshot description that can trigger the policy. The description pattern is specified using a regular expression. The policy runs only if a snapshot with a description that matches the specified pattern is shared with your account.
For example, specifying ^.*Created for policy: policy-1234567890abcdef0.*$ configures the policy
to run only if snapshots created by policy policy-1234567890abcdef0 are shared with your
account.
descriptionRegex - The snapshot description that can trigger the policy. The description pattern is specified using a
regular expression. The policy runs only if a snapshot with a description that matches the specified
pattern is shared with your account.
For example, specifying ^.*Created for policy: policy-1234567890abcdef0.*$ configures the
policy to run only if snapshots created by policy policy-1234567890abcdef0 are shared
with your account.
Copyright © 2021. All rights reserved.