@Generated(value="software.amazon.awssdk:codegen") public final class CreateInsightRequest extends SecurityHubRequest implements ToCopyableBuilder<CreateInsightRequest.Builder,CreateInsightRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateInsightRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CreateInsightRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
AwsSecurityFindingFilters |
filters()
One or more attributes used to filter the findings included in the insight.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
String |
groupByAttribute()
The attribute used to group the findings for the insight.
|
int |
hashCode() |
String |
name()
The name of the custom insight to create.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateInsightRequest.Builder> |
serializableBuilderClass() |
CreateInsightRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String name()
The name of the custom insight to create.
public final AwsSecurityFindingFilters filters()
One or more attributes used to filter the findings included in the insight. The insight only includes findings that match the criteria defined in the filters.
public final String groupByAttribute()
The attribute used to group the findings for the insight. The grouping attribute identifies the type of item that the insight applies to. For example, if an insight is grouped by resource identifier, then the insight produces a list of resource identifiers.
public CreateInsightRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateInsightRequest.Builder,CreateInsightRequest>toBuilder in class SecurityHubRequestpublic static CreateInsightRequest.Builder builder()
public static Class<? extends CreateInsightRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.