Interface AdvancedFieldSelector.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AdvancedFieldSelector.Builder,
,AdvancedFieldSelector> SdkBuilder<AdvancedFieldSelector.Builder,
,AdvancedFieldSelector> SdkPojo
- Enclosing class:
AdvancedFieldSelector
-
Method Summary
Modifier and TypeMethodDescriptionAn operator that includes events that match the last few characters of the event record field specified as the value ofField
.endsWith
(Collection<String> endsWith) An operator that includes events that match the last few characters of the event record field specified as the value ofField
.equalsValue
(String... equals) An operator that includes events that match the exact value of the event record field specified as the value ofField
.equalsValue
(Collection<String> equals) An operator that includes events that match the exact value of the event record field specified as the value ofField
.A field in a CloudTrail event record on which to filter events to be logged.notEndsWith
(String... notEndsWith) An operator that excludes events that match the last few characters of the event record field specified as the value ofField
.notEndsWith
(Collection<String> notEndsWith) An operator that excludes events that match the last few characters of the event record field specified as the value ofField
.An operator that excludes events that match the exact value of the event record field specified as the value ofField
.notEquals
(Collection<String> notEquals) An operator that excludes events that match the exact value of the event record field specified as the value ofField
.notStartsWith
(String... notStartsWith) An operator that excludes events that match the first few characters of the event record field specified as the value ofField
.notStartsWith
(Collection<String> notStartsWith) An operator that excludes events that match the first few characters of the event record field specified as the value ofField
.startsWith
(String... startsWith) An operator that includes events that match the first few characters of the event record field specified as the value ofField
.startsWith
(Collection<String> startsWith) An operator that includes events that match the first few characters of the event record field specified as the value ofField
.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
field
A field in a CloudTrail event record on which to filter events to be logged. For event data stores for CloudTrail Insights events, Config configuration items, Audit Manager evidence, or events outside of Amazon Web Services, the field is used only for selecting events as filtering is not supported.
For more information, see AdvancedFieldSelector in the CloudTrail API Reference.
Selectors don't support the use of wildcards like
*
. To match multiple values with a single condition, you may useStartsWith
,EndsWith
,NotStartsWith
, orNotEndsWith
to explicitly match the beginning or end of the event field.- Parameters:
field
- A field in a CloudTrail event record on which to filter events to be logged. For event data stores for CloudTrail Insights events, Config configuration items, Audit Manager evidence, or events outside of Amazon Web Services, the field is used only for selecting events as filtering is not supported.For more information, see AdvancedFieldSelector in the CloudTrail API Reference.
Selectors don't support the use of wildcards like
*
. To match multiple values with a single condition, you may useStartsWith
,EndsWith
,NotStartsWith
, orNotEndsWith
to explicitly match the beginning or end of the event field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
equalsValue
An operator that includes events that match the exact value of the event record field specified as the value of
Field
. This is the only valid operator that you can use with thereadOnly
,eventCategory
, andresources.type
fields.- Parameters:
equals
- An operator that includes events that match the exact value of the event record field specified as the value ofField
. This is the only valid operator that you can use with thereadOnly
,eventCategory
, andresources.type
fields.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
equalsValue
An operator that includes events that match the exact value of the event record field specified as the value of
Field
. This is the only valid operator that you can use with thereadOnly
,eventCategory
, andresources.type
fields.- Parameters:
equals
- An operator that includes events that match the exact value of the event record field specified as the value ofField
. This is the only valid operator that you can use with thereadOnly
,eventCategory
, andresources.type
fields.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startsWith
An operator that includes events that match the first few characters of the event record field specified as the value of
Field
.- Parameters:
startsWith
- An operator that includes events that match the first few characters of the event record field specified as the value ofField
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startsWith
An operator that includes events that match the first few characters of the event record field specified as the value of
Field
.- Parameters:
startsWith
- An operator that includes events that match the first few characters of the event record field specified as the value ofField
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endsWith
An operator that includes events that match the last few characters of the event record field specified as the value of
Field
.- Parameters:
endsWith
- An operator that includes events that match the last few characters of the event record field specified as the value ofField
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endsWith
An operator that includes events that match the last few characters of the event record field specified as the value of
Field
.- Parameters:
endsWith
- An operator that includes events that match the last few characters of the event record field specified as the value ofField
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notEquals
An operator that excludes events that match the exact value of the event record field specified as the value of
Field
.- Parameters:
notEquals
- An operator that excludes events that match the exact value of the event record field specified as the value ofField
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notEquals
An operator that excludes events that match the exact value of the event record field specified as the value of
Field
.- Parameters:
notEquals
- An operator that excludes events that match the exact value of the event record field specified as the value ofField
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notStartsWith
An operator that excludes events that match the first few characters of the event record field specified as the value of
Field
.- Parameters:
notStartsWith
- An operator that excludes events that match the first few characters of the event record field specified as the value ofField
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notStartsWith
An operator that excludes events that match the first few characters of the event record field specified as the value of
Field
.- Parameters:
notStartsWith
- An operator that excludes events that match the first few characters of the event record field specified as the value ofField
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notEndsWith
An operator that excludes events that match the last few characters of the event record field specified as the value of
Field
.- Parameters:
notEndsWith
- An operator that excludes events that match the last few characters of the event record field specified as the value ofField
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notEndsWith
An operator that excludes events that match the last few characters of the event record field specified as the value of
Field
.- Parameters:
notEndsWith
- An operator that excludes events that match the last few characters of the event record field specified as the value ofField
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-