Class FilterCriterion
- java.lang.Object
-
- software.amazon.awssdk.services.guardduty.model.FilterCriterion
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<FilterCriterion.Builder,FilterCriterion>
@Generated("software.amazon.awssdk:codegen") public final class FilterCriterion extends Object implements SdkPojo, Serializable, ToCopyableBuilder<FilterCriterion.Builder,FilterCriterion>
Represents a condition that when matched will be added to the response of the operation. Irrespective of using any filter criteria, an administrator account can view the scan entries for all of its member accounts. However, each member account can view the scan entries only for their own account.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceFilterCriterion.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FilterCriterion.Builderbuilder()CriterionKeycriterionKey()An enum value representing possible scan properties to match with given scan entries.StringcriterionKeyAsString()An enum value representing possible scan properties to match with given scan entries.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)FilterConditionfilterCondition()Contains information about the condition.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends FilterCriterion.Builder>serializableBuilderClass()FilterCriterion.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
criterionKey
public final CriterionKey criterionKey()
An enum value representing possible scan properties to match with given scan entries.
Replace the enum value
CLUSTER_NAMEwithEKS_CLUSTER_NAME.CLUSTER_NAMEhas been deprecated.If the service returns an enum value that is not available in the current SDK version,
criterionKeywill returnCriterionKey.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcriterionKeyAsString().- Returns:
- An enum value representing possible scan properties to match with given scan entries.
Replace the enum value
CLUSTER_NAMEwithEKS_CLUSTER_NAME.CLUSTER_NAMEhas been deprecated. - See Also:
CriterionKey
-
criterionKeyAsString
public final String criterionKeyAsString()
An enum value representing possible scan properties to match with given scan entries.
Replace the enum value
CLUSTER_NAMEwithEKS_CLUSTER_NAME.CLUSTER_NAMEhas been deprecated.If the service returns an enum value that is not available in the current SDK version,
criterionKeywill returnCriterionKey.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcriterionKeyAsString().- Returns:
- An enum value representing possible scan properties to match with given scan entries.
Replace the enum value
CLUSTER_NAMEwithEKS_CLUSTER_NAME.CLUSTER_NAMEhas been deprecated. - See Also:
CriterionKey
-
filterCondition
public final FilterCondition filterCondition()
Contains information about the condition.
- Returns:
- Contains information about the condition.
-
toBuilder
public FilterCriterion.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<FilterCriterion.Builder,FilterCriterion>
-
builder
public static FilterCriterion.Builder builder()
-
serializableBuilderClass
public static Class<? extends FilterCriterion.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-