@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Insight extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about a Security Hub insight.
Constructor and Description |
---|
Insight() |
Modifier and Type | Method and Description |
---|---|
Insight |
clone() |
boolean |
equals(Object obj) |
AwsSecurityFindingFilters |
getFilters()
One or more attributes used to filter the findings included in the insight.
|
String |
getGroupByAttribute()
The grouping attribute for the insight's findings.
|
String |
getInsightArn()
The ARN of a Security Hub insight.
|
String |
getName()
The name of a Security Hub insight.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setFilters(AwsSecurityFindingFilters filters)
One or more attributes used to filter the findings included in the insight.
|
void |
setGroupByAttribute(String groupByAttribute)
The grouping attribute for the insight's findings.
|
void |
setInsightArn(String insightArn)
The ARN of a Security Hub insight.
|
void |
setName(String name)
The name of a Security Hub insight.
|
String |
toString()
Returns a string representation of this object.
|
Insight |
withFilters(AwsSecurityFindingFilters filters)
One or more attributes used to filter the findings included in the insight.
|
Insight |
withGroupByAttribute(String groupByAttribute)
The grouping attribute for the insight's findings.
|
Insight |
withInsightArn(String insightArn)
The ARN of a Security Hub insight.
|
Insight |
withName(String name)
The name of a Security Hub insight.
|
public void setInsightArn(String insightArn)
The ARN of a Security Hub insight.
insightArn
- The ARN of a Security Hub insight.public String getInsightArn()
The ARN of a Security Hub insight.
public Insight withInsightArn(String insightArn)
The ARN of a Security Hub insight.
insightArn
- The ARN of a Security Hub insight.public void setName(String name)
The name of a Security Hub insight.
name
- The name of a Security Hub insight.public String getName()
The name of a Security Hub insight.
public Insight withName(String name)
The name of a Security Hub insight.
name
- The name of a Security Hub insight.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 Insight 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 grouping attribute for the insight's findings. Indicates how to group the matching findings, and 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 grouping attribute for the insight's findings. Indicates how to group the matching findings, and
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 grouping attribute for the insight's findings. Indicates how to group the matching findings, and 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 Insight withGroupByAttribute(String groupByAttribute)
The grouping attribute for the insight's findings. Indicates how to group the matching findings, and 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 grouping attribute for the insight's findings. Indicates how to group the matching findings, and
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 Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.