@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateInsightRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
CreateInsightRequest() |
| Modifier and Type | Method and Description |
|---|---|
CreateInsightRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
AwsSecurityFindingFilters |
getFilters()
One or more attributes used to filter the findings included in the insight.
|
String |
getGroupByAttribute()
The attribute used to group the findings for the insight.
|
String |
getName()
The name of the custom insight to create.
|
int |
hashCode() |
void |
setFilters(AwsSecurityFindingFilters filters)
One or more attributes used to filter the findings included in the insight.
|
void |
setGroupByAttribute(String groupByAttribute)
The attribute used to group the findings for the insight.
|
void |
setName(String name)
The name of the custom insight to create.
|
String |
toString()
Returns a string representation of this object.
|
CreateInsightRequest |
withFilters(AwsSecurityFindingFilters filters)
One or more attributes used to filter the findings included in the insight.
|
CreateInsightRequest |
withGroupByAttribute(String groupByAttribute)
The attribute used to group the findings for the insight.
|
CreateInsightRequest |
withName(String name)
The name of the custom insight to create.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setName(String name)
The name of the custom insight to create.
name - The name of the custom insight to create.public String getName()
The name of the custom insight to create.
public CreateInsightRequest withName(String name)
The name of the custom insight to create.
name - The name of the custom insight to create.public void setFilters(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.
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 AwsSecurityFindingFilters getFilters()
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 CreateInsightRequest withFilters(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.
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 void setGroupByAttribute(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.
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 String getGroupByAttribute()
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 withGroupByAttribute(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.
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 String toString()
toString in class ObjectObject.toString()public CreateInsightRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()