@Generated(value="software.amazon.awssdk:codegen") public final class CreateFilterRequest extends GuardDutyRequest implements ToCopyableBuilder<CreateFilterRequest.Builder,CreateFilterRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateFilterRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
FilterAction |
action()
Specifies the action that is to be applied to the findings that match the filter.
|
String |
actionAsString()
Specifies the action that is to be applied to the findings that match the filter.
|
static CreateFilterRequest.Builder |
builder() |
String |
clientToken()
The idempotency token for the create request.
|
String |
description()
The description of the filter.
|
String |
detectorId()
The unique ID of the detector of the GuardDuty account for which you want to create a filter.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
FindingCriteria |
findingCriteria()
Represents the criteria to be used in the filter for querying findings.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
name()
The name of the filter.
|
Integer |
rank()
Specifies the position of the filter in the list of current filters.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateFilterRequest.Builder> |
serializableBuilderClass() |
Map<String,String> |
tags()
The tags to be added to a new filter resource.
|
CreateFilterRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String detectorId()
The unique ID of the detector of the GuardDuty account for which you want to create a filter.
public String name()
The name of the filter.
public String description()
The description of the filter.
public 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, action will
return FilterAction.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
actionAsString().
FilterActionpublic 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, action will
return FilterAction.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
actionAsString().
FilterActionpublic 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.
public FindingCriteria findingCriteria()
Represents the criteria to be used in the filter for querying findings.
public String clientToken()
The idempotency token for the create request.
public Map<String,String> tags()
The tags to be added to a new filter resource.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public CreateFilterRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateFilterRequest.Builder,CreateFilterRequest>toBuilder in class GuardDutyRequestpublic static CreateFilterRequest.Builder builder()
public static Class<? extends CreateFilterRequest.Builder> serializableBuilderClass()
public int hashCode()
hashCode in class AwsRequestpublic boolean equals(Object obj)
equals in class AwsRequestpublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2019. All rights reserved.