Interface AdvancedFieldSelector.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AdvancedFieldSelector.Builder,AdvancedFieldSelector>,SdkBuilder<AdvancedFieldSelector.Builder,AdvancedFieldSelector>,SdkPojo
- Enclosing class:
- AdvancedFieldSelector
public static interface AdvancedFieldSelector.Builder extends SdkPojo, CopyableBuilder<AdvancedFieldSelector.Builder,AdvancedFieldSelector>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AdvancedFieldSelector.BuilderendsWith(String... endsWith)An operator that includes events that match the last few characters of the event record field specified as the value ofField.AdvancedFieldSelector.BuilderendsWith(Collection<String> endsWith)An operator that includes events that match the last few characters of the event record field specified as the value ofField.AdvancedFieldSelector.BuilderequalsValue(String... equals)An operator that includes events that match the exact value of the event record field specified as the value ofField.AdvancedFieldSelector.BuilderequalsValue(Collection<String> equals)An operator that includes events that match the exact value of the event record field specified as the value ofField.AdvancedFieldSelector.Builderfield(String field)A field in a CloudTrail event record on which to filter events to be logged.AdvancedFieldSelector.BuildernotEndsWith(String... notEndsWith)An operator that excludes events that match the last few characters of the event record field specified as the value ofField.AdvancedFieldSelector.BuildernotEndsWith(Collection<String> notEndsWith)An operator that excludes events that match the last few characters of the event record field specified as the value ofField.AdvancedFieldSelector.BuildernotEquals(String... notEquals)An operator that excludes events that match the exact value of the event record field specified as the value ofField.AdvancedFieldSelector.BuildernotEquals(Collection<String> notEquals)An operator that excludes events that match the exact value of the event record field specified as the value ofField.AdvancedFieldSelector.BuildernotStartsWith(String... notStartsWith)An operator that excludes events that match the first few characters of the event record field specified as the value ofField.AdvancedFieldSelector.BuildernotStartsWith(Collection<String> notStartsWith)An operator that excludes events that match the first few characters of the event record field specified as the value ofField.AdvancedFieldSelector.BuilderstartsWith(String... startsWith)An operator that includes events that match the first few characters of the event record field specified as the value ofField.AdvancedFieldSelector.BuilderstartsWith(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 Detail
-
field
AdvancedFieldSelector.Builder field(String 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, orNotEndsWithto 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, orNotEndsWithto 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
AdvancedFieldSelector.Builder equalsValue(Collection<String> equals)
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.typefields.- 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.typefields.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
equalsValue
AdvancedFieldSelector.Builder equalsValue(String... equals)
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.typefields.- 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.typefields.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startsWith
AdvancedFieldSelector.Builder startsWith(Collection<String> 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
AdvancedFieldSelector.Builder startsWith(String... 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
AdvancedFieldSelector.Builder endsWith(Collection<String> 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
AdvancedFieldSelector.Builder endsWith(String... 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
AdvancedFieldSelector.Builder notEquals(Collection<String> 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
AdvancedFieldSelector.Builder notEquals(String... 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
AdvancedFieldSelector.Builder notStartsWith(Collection<String> 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
AdvancedFieldSelector.Builder notStartsWith(String... 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
AdvancedFieldSelector.Builder notEndsWith(Collection<String> 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
AdvancedFieldSelector.Builder notEndsWith(String... 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.
-
-