Class UpdateFilterRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.guardduty.model.GuardDutyRequest
-
- software.amazon.awssdk.services.guardduty.model.UpdateFilterRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<UpdateFilterRequest.Builder,UpdateFilterRequest>
@Generated("software.amazon.awssdk:codegen") public final class UpdateFilterRequest extends GuardDutyRequest implements ToCopyableBuilder<UpdateFilterRequest.Builder,UpdateFilterRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUpdateFilterRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description FilterActionaction()Specifies the action that is to be applied to the findings that match the filter.StringactionAsString()Specifies the action that is to be applied to the findings that match the filter.static UpdateFilterRequest.Builderbuilder()Stringdescription()The description of the filter.StringdetectorId()The unique ID of the detector that specifies the GuardDuty service where you want to update a filter.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringfilterName()The name of the filter.FindingCriteriafindingCriteria()Represents the criteria to be used in the filter for querying findings.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Integerrank()Specifies the position of the filter in the list of current filters.List<SdkField<?>>sdkFields()static Class<? extends UpdateFilterRequest.Builder>serializableBuilderClass()UpdateFilterRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
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
-
detectorId
public final String detectorId()
The unique ID of the detector that specifies the GuardDuty service where you want to update a filter.
- Returns:
- The unique ID of the detector that specifies the GuardDuty service where you want to update a filter.
-
filterName
public final String filterName()
The name of the filter.
- Returns:
- The name of the filter.
-
description
public final String description()
The description of the filter. Valid characters include alphanumeric characters, and special characters such as hyphen, period, colon, underscore, parentheses (
{ },[ ], and( )), forward slash, horizontal tab, vertical tab, newline, form feed, return, and whitespace.- Returns:
- The description of the filter. Valid characters include alphanumeric characters, and special characters
such as hyphen, period, colon, underscore, parentheses (
{ },[ ], and( )), forward slash, horizontal tab, vertical tab, newline, form feed, return, and whitespace.
-
action
public final FilterAction action()
Specifies the action that is to be applied to the findings that match the filter.
If the service returns an enum value that is not available in the current SDK version,
actionwill returnFilterAction.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromactionAsString().- Returns:
- Specifies the action that is to be applied to the findings that match the filter.
- See Also:
FilterAction
-
actionAsString
public final String actionAsString()
Specifies the action that is to be applied to the findings that match the filter.
If the service returns an enum value that is not available in the current SDK version,
actionwill returnFilterAction.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromactionAsString().- Returns:
- Specifies the action that is to be applied to the findings that match the filter.
- See Also:
FilterAction
-
rank
public final Integer rank()
Specifies the position of the filter in the list of current filters. Also specifies the order in which this filter is applied to the findings.
- Returns:
- Specifies the position of the filter in the list of current filters. Also specifies the order in which this filter is applied to the findings.
-
findingCriteria
public final FindingCriteria findingCriteria()
Represents the criteria to be used in the filter for querying findings.
- Returns:
- Represents the criteria to be used in the filter for querying findings.
-
toBuilder
public UpdateFilterRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<UpdateFilterRequest.Builder,UpdateFilterRequest>- Specified by:
toBuilderin classGuardDutyRequest
-
builder
public static UpdateFilterRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends UpdateFilterRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
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.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-