Class UpdateFilterRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.inspector2.model.Inspector2Request
-
- software.amazon.awssdk.services.inspector2.model.UpdateFilterRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<UpdateFilterRequest.Builder,UpdateFilterRequest>
@Generated("software.amazon.awssdk:codegen") public final class UpdateFilterRequest extends Inspector2Request 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()A description of the filter.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringfilterArn()The Amazon Resource Number (ARN) of the filter to update.FilterCriteriafilterCriteria()Defines the criteria to be update in the filter.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringname()The name of the filter.Stringreason()The reason the filter was updated.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
-
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
-
description
public final String description()
A description of the filter.
- Returns:
- A description of the filter.
-
filterArn
public final String filterArn()
The Amazon Resource Number (ARN) of the filter to update.
- Returns:
- The Amazon Resource Number (ARN) of the filter to update.
-
filterCriteria
public final FilterCriteria filterCriteria()
Defines the criteria to be update in the filter.
- Returns:
- Defines the criteria to be update in the filter.
-
name
public final String name()
The name of the filter.
- Returns:
- The name of the filter.
-
reason
public final String reason()
The reason the filter was updated.
- Returns:
- The reason the filter was updated.
-
toBuilder
public UpdateFilterRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<UpdateFilterRequest.Builder,UpdateFilterRequest>- Specified by:
toBuilderin classInspector2Request
-
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
-
-