Interface Service.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Service.Builder,
,Service> SdkBuilder<Service.Builder,
,Service> SdkPojo
- Enclosing class:
Service
-
Method Summary
Modifier and TypeMethodDescriptiondefault Service.Builder
action
(Consumer<Action.Builder> action) Information about the activity that is described in a finding.Information about the activity that is described in a finding.default Service.Builder
additionalInfo
(Consumer<ServiceAdditionalInfo.Builder> additionalInfo) Contains additional information about the generated finding.additionalInfo
(ServiceAdditionalInfo additionalInfo) Contains additional information about the generated finding.Indicates whether this finding is archived.The total count of the occurrences of this finding type.default Service.Builder
detection
(Consumer<Detection.Builder> detection) Contains information about the detected unusual behavior.Contains information about the detected unusual behavior.detectorId
(String detectorId) The detector ID for the GuardDuty service.default Service.Builder
ebsVolumeScanDetails
(Consumer<EbsVolumeScanDetails.Builder> ebsVolumeScanDetails) Returns details from the malware scan that created a finding.ebsVolumeScanDetails
(EbsVolumeScanDetails ebsVolumeScanDetails) Returns details from the malware scan that created a finding.eventFirstSeen
(String eventFirstSeen) The first-seen timestamp of the activity that prompted GuardDuty to generate this finding.eventLastSeen
(String eventLastSeen) The last-seen timestamp of the activity that prompted GuardDuty to generate this finding.default Service.Builder
evidence
(Consumer<Evidence.Builder> evidence) An evidence object associated with the service.An evidence object associated with the service.featureName
(String featureName) The name of the feature that generated a finding.resourceRole
(String resourceRole) The resource role information for this finding.default Service.Builder
runtimeDetails
(Consumer<RuntimeDetails.Builder> runtimeDetails) Information about the process and any required context values for a specific findingruntimeDetails
(RuntimeDetails runtimeDetails) Information about the process and any required context values for a specific findingserviceName
(String serviceName) The name of the Amazon Web Services service (GuardDuty) that generated a finding.userFeedback
(String userFeedback) Feedback that was submitted about the finding.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, sdkFields
-
Method Details
-
action
Information about the activity that is described in a finding.
- Parameters:
action
- Information about the activity that is described in a finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
action
Information about the activity that is described in a finding.
This is a convenience method that creates an instance of theAction.Builder
avoiding the need to create one manually viaAction.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toaction(Action)
.- Parameters:
action
- a consumer that will call methods onAction.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
evidence
An evidence object associated with the service.
- Parameters:
evidence
- An evidence object associated with the service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
evidence
An evidence object associated with the service.
This is a convenience method that creates an instance of theEvidence.Builder
avoiding the need to create one manually viaEvidence.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toevidence(Evidence)
.- Parameters:
evidence
- a consumer that will call methods onEvidence.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
archived
Indicates whether this finding is archived.
- Parameters:
archived
- Indicates whether this finding is archived.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
count
The total count of the occurrences of this finding type.
- Parameters:
count
- The total count of the occurrences of this finding type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
detectorId
The detector ID for the GuardDuty service.
- Parameters:
detectorId
- The detector ID for the GuardDuty service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventFirstSeen
The first-seen timestamp of the activity that prompted GuardDuty to generate this finding.
- Parameters:
eventFirstSeen
- The first-seen timestamp of the activity that prompted GuardDuty to generate this finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventLastSeen
The last-seen timestamp of the activity that prompted GuardDuty to generate this finding.
- Parameters:
eventLastSeen
- The last-seen timestamp of the activity that prompted GuardDuty to generate this finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceRole
The resource role information for this finding.
- Parameters:
resourceRole
- The resource role information for this finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceName
The name of the Amazon Web Services service (GuardDuty) that generated a finding.
- Parameters:
serviceName
- The name of the Amazon Web Services service (GuardDuty) that generated a finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userFeedback
Feedback that was submitted about the finding.
- Parameters:
userFeedback
- Feedback that was submitted about the finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
additionalInfo
Contains additional information about the generated finding.
- Parameters:
additionalInfo
- Contains additional information about the generated finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
additionalInfo
Contains additional information about the generated finding.
This is a convenience method that creates an instance of theServiceAdditionalInfo.Builder
avoiding the need to create one manually viaServiceAdditionalInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toadditionalInfo(ServiceAdditionalInfo)
.- Parameters:
additionalInfo
- a consumer that will call methods onServiceAdditionalInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
featureName
The name of the feature that generated a finding.
- Parameters:
featureName
- The name of the feature that generated a finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ebsVolumeScanDetails
Returns details from the malware scan that created a finding.
- Parameters:
ebsVolumeScanDetails
- Returns details from the malware scan that created a finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ebsVolumeScanDetails
default Service.Builder ebsVolumeScanDetails(Consumer<EbsVolumeScanDetails.Builder> ebsVolumeScanDetails) Returns details from the malware scan that created a finding.
This is a convenience method that creates an instance of theEbsVolumeScanDetails.Builder
avoiding the need to create one manually viaEbsVolumeScanDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toebsVolumeScanDetails(EbsVolumeScanDetails)
.- Parameters:
ebsVolumeScanDetails
- a consumer that will call methods onEbsVolumeScanDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
runtimeDetails
Information about the process and any required context values for a specific finding
- Parameters:
runtimeDetails
- Information about the process and any required context values for a specific finding- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
runtimeDetails
Information about the process and any required context values for a specific finding
This is a convenience method that creates an instance of theRuntimeDetails.Builder
avoiding the need to create one manually viaRuntimeDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toruntimeDetails(RuntimeDetails)
.- Parameters:
runtimeDetails
- a consumer that will call methods onRuntimeDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
detection
Contains information about the detected unusual behavior.
- Parameters:
detection
- Contains information about the detected unusual behavior.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
detection
Contains information about the detected unusual behavior.
This is a convenience method that creates an instance of theDetection.Builder
avoiding the need to create one manually viaDetection.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todetection(Detection)
.- Parameters:
detection
- a consumer that will call methods onDetection.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-