@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) |
AwsSecurityFindingFilters |
filters()
A collection of attributes that are applied to all active Security Hub-aggregated findings and that result in a
subset of findings that are included in this insight.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
String |
groupByAttribute()
The attribute by which the insight's findings are grouped.
|
int |
hashCode() |
String |
name()
The user-defined name that identifies the insight that you want to create.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateInsightRequest.Builder> |
serializableBuilderClass() |
CreateInsightRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
overrideConfiguration
copy
public String name()
The user-defined name that identifies the insight that you want to create.
public AwsSecurityFindingFilters filters()
A collection of attributes that are applied to all active Security Hub-aggregated findings and that result in a subset of findings that are included in this insight.
public String groupByAttribute()
The attribute by which the insight's findings are grouped. This attribute is used as a findings aggregator for the purposes of viewing and managing multiple related findings under a single operand.
public CreateInsightRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CreateInsightRequest.Builder,CreateInsightRequest>
toBuilder
in class SecurityHubRequest
public static CreateInsightRequest.Builder builder()
public static Class<? extends CreateInsightRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.