Interface Service.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Service.Builder,,Service> SdkBuilder<Service.Builder,,Service> SdkPojo
- Enclosing class:
Service
-
Method Summary
Modifier and TypeMethodDescriptiondefault Service.Builderaction(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.BuilderadditionalInfo(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.Builderdetection(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.BuilderebsVolumeScanDetails(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.Builderevidence(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.default Service.BuildermalwareScanDetails(Consumer<MalwareScanDetails.Builder> malwareScanDetails) Returns details from the malware scan that generated a GuardDuty finding.malwareScanDetails(MalwareScanDetails malwareScanDetails) Returns details from the malware scan that generated a GuardDuty finding.resourceRole(String resourceRole) The resource role information for this finding.default Service.BuilderruntimeDetails(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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.Builderavoiding the need to create one manually viaAction.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaEvidence.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaServiceAdditionalInfo.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaEbsVolumeScanDetails.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaRuntimeDetails.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaDetection.builder().When the
Consumercompletes,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:
-
malwareScanDetails
Returns details from the malware scan that generated a GuardDuty finding.
- Parameters:
malwareScanDetails- Returns details from the malware scan that generated a GuardDuty finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
malwareScanDetails
Returns details from the malware scan that generated a GuardDuty finding.
This is a convenience method that creates an instance of theMalwareScanDetails.Builderavoiding the need to create one manually viaMalwareScanDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomalwareScanDetails(MalwareScanDetails).- Parameters:
malwareScanDetails- a consumer that will call methods onMalwareScanDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-