Interface Signal.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Signal.Builder,Signal>,SdkBuilder<Signal.Builder,Signal>,SdkPojo
- Enclosing class:
- Signal
public static interface Signal.Builder extends SdkPojo, CopyableBuilder<Signal.Builder,Signal>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Signal.BuilderactorIds(String... actorIds)The IDs of the threat actors involved in the signal.Signal.BuilderactorIds(Collection<String> actorIds)The IDs of the threat actors involved in the signal.Signal.Buildercount(Integer count)The number of times this signal was observed.Signal.BuildercreatedAt(Long createdAt)The timestamp when the first finding or activity related to this signal was observed.Signal.BuilderendpointIds(String... endpointIds)Information about the endpoint IDs associated with this signal.Signal.BuilderendpointIds(Collection<String> endpointIds)Information about the endpoint IDs associated with this signal.Signal.BuilderfirstSeenAt(Long firstSeenAt)The timestamp when the first finding or activity related to this signal was observed.Signal.Builderid(String id)The identifier of the signal.Signal.BuilderlastSeenAt(Long lastSeenAt)The timestamp when the last finding or activity related to this signal was observed.Signal.Buildername(String name)The name of the GuardDuty signal.Signal.BuilderproductArn(String productArn)The Amazon Resource Name (ARN) of the product that generated the signal.Signal.BuilderresourceIds(String... resourceIds)The ARN or ID of the Amazon Web Services resource associated with the signal.Signal.BuilderresourceIds(Collection<String> resourceIds)The ARN or ID of the Amazon Web Services resource associated with the signal.Signal.Builderseverity(Double severity)The severity associated with the signal.Signal.BuildersignalIndicators(Collection<Indicator> signalIndicators)Contains information about the indicators associated with the signals in this attack sequence finding.Signal.BuildersignalIndicators(Consumer<Indicator.Builder>... signalIndicators)Contains information about the indicators associated with the signals in this attack sequence finding.Signal.BuildersignalIndicators(Indicator... signalIndicators)Contains information about the indicators associated with the signals in this attack sequence finding.Signal.Buildertitle(String title)The description of the GuardDuty finding.Signal.Buildertype(String type)The type of the signal used to identify an attack sequence.Signal.BuilderupdatedAt(Long updatedAt)The timestamp when this signal was last observed.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
type
Signal.Builder type(String type)
The type of the signal used to identify an attack sequence.
Signals can be GuardDuty findings or activities observed in data sources that GuardDuty monitors. For more information, see GuardDuty foundational data sources in the Amazon GuardDuty User Guide.
A signal type can be one of the following values. Here are the related descriptions:
-
FINDING- Individually generated GuardDuty finding. -
CLOUD_TRAIL- Activity observed from CloudTrail logs -
S3_DATA_EVENTS- Activity observed from CloudTrail data events for Amazon Simple Storage Service (S3). Activities associated with this type will show up only when you have enabled GuardDuty S3 Protection feature in your account. For more information about S3 Protection and the steps to enable it, see S3 Protection in the Amazon GuardDuty User Guide.
- Parameters:
type- The type of the signal used to identify an attack sequence.Signals can be GuardDuty findings or activities observed in data sources that GuardDuty monitors. For more information, see GuardDuty foundational data sources in the Amazon GuardDuty User Guide.
A signal type can be one of the following values. Here are the related descriptions:
-
FINDING- Individually generated GuardDuty finding. -
CLOUD_TRAIL- Activity observed from CloudTrail logs -
S3_DATA_EVENTS- Activity observed from CloudTrail data events for Amazon Simple Storage Service (S3). Activities associated with this type will show up only when you have enabled GuardDuty S3 Protection feature in your account. For more information about S3 Protection and the steps to enable it, see S3 Protection in the Amazon GuardDuty User Guide.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
id
Signal.Builder id(String id)
The identifier of the signal.
- Parameters:
id- The identifier of the signal.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
title
Signal.Builder title(String title)
The description of the GuardDuty finding.
- Parameters:
title- The description of the GuardDuty finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
productArn
Signal.Builder productArn(String productArn)
The Amazon Resource Name (ARN) of the product that generated the signal.
- Parameters:
productArn- The Amazon Resource Name (ARN) of the product that generated the signal.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceIds
Signal.Builder resourceIds(Collection<String> resourceIds)
The ARN or ID of the Amazon Web Services resource associated with the signal.
- Parameters:
resourceIds- The ARN or ID of the Amazon Web Services resource associated with the signal.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceIds
Signal.Builder resourceIds(String... resourceIds)
The ARN or ID of the Amazon Web Services resource associated with the signal.
- Parameters:
resourceIds- The ARN or ID of the Amazon Web Services resource associated with the signal.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
signalIndicators
Signal.Builder signalIndicators(Collection<Indicator> signalIndicators)
Contains information about the indicators associated with the signals in this attack sequence finding. The values for
SignalIndicatorsare a subset of the values for SequenceIndicators, but the values for these fields don't always match 1:1.- Parameters:
signalIndicators- Contains information about the indicators associated with the signals in this attack sequence finding. The values forSignalIndicatorsare a subset of the values for SequenceIndicators, but the values for these fields don't always match 1:1.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
signalIndicators
Signal.Builder signalIndicators(Indicator... signalIndicators)
Contains information about the indicators associated with the signals in this attack sequence finding. The values for
SignalIndicatorsare a subset of the values for SequenceIndicators, but the values for these fields don't always match 1:1.- Parameters:
signalIndicators- Contains information about the indicators associated with the signals in this attack sequence finding. The values forSignalIndicatorsare a subset of the values for SequenceIndicators, but the values for these fields don't always match 1:1.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
signalIndicators
Signal.Builder signalIndicators(Consumer<Indicator.Builder>... signalIndicators)
Contains information about the indicators associated with the signals in this attack sequence finding. The values for
This is a convenience method that creates an instance of theSignalIndicatorsare a subset of the values for SequenceIndicators, but the values for these fields don't always match 1:1.Indicator.Builderavoiding the need to create one manually viaIndicator.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#signalIndicators(List.) - Parameters:
signalIndicators- a consumer that will call methods onIndicator.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#signalIndicators(java.util.Collection)
-
name
Signal.Builder name(String name)
The name of the GuardDuty signal. For example, when signal type is
FINDING, the signal name is the name of the finding.- Parameters:
name- The name of the GuardDuty signal. For example, when signal type isFINDING, the signal name is the name of the finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
Signal.Builder createdAt(Long createdAt)
The timestamp when the first finding or activity related to this signal was observed.
- Parameters:
createdAt- The timestamp when the first finding or activity related to this signal was observed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
Signal.Builder updatedAt(Long updatedAt)
The timestamp when this signal was last observed.
- Parameters:
updatedAt- The timestamp when this signal was last observed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
firstSeenAt
Signal.Builder firstSeenAt(Long firstSeenAt)
The timestamp when the first finding or activity related to this signal was observed.
- Parameters:
firstSeenAt- The timestamp when the first finding or activity related to this signal was observed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastSeenAt
Signal.Builder lastSeenAt(Long lastSeenAt)
The timestamp when the last finding or activity related to this signal was observed.
- Parameters:
lastSeenAt- The timestamp when the last finding or activity related to this signal was observed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
severity
Signal.Builder severity(Double severity)
The severity associated with the signal. For more information about severity, see Severity levels for GuardDuty findings in the Amazon GuardDuty User Guide.
- Parameters:
severity- The severity associated with the signal. For more information about severity, see Severity levels for GuardDuty findings in the Amazon GuardDuty User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
count
Signal.Builder count(Integer count)
The number of times this signal was observed.
- Parameters:
count- The number of times this signal was observed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actorIds
Signal.Builder actorIds(Collection<String> actorIds)
The IDs of the threat actors involved in the signal.
- Parameters:
actorIds- The IDs of the threat actors involved in the signal.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actorIds
Signal.Builder actorIds(String... actorIds)
The IDs of the threat actors involved in the signal.
- Parameters:
actorIds- The IDs of the threat actors involved in the signal.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpointIds
Signal.Builder endpointIds(Collection<String> endpointIds)
Information about the endpoint IDs associated with this signal.
- Parameters:
endpointIds- Information about the endpoint IDs associated with this signal.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpointIds
Signal.Builder endpointIds(String... endpointIds)
Information about the endpoint IDs associated with this signal.
- Parameters:
endpointIds- Information about the endpoint IDs associated with this signal.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-