Interface Service.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Service.Builder,Service>,SdkBuilder<Service.Builder,Service>,SdkPojo
- Enclosing class:
- Service
public static interface Service.Builder extends SdkPojo, CopyableBuilder<Service.Builder,Service>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Service.Builderaction(Consumer<Action.Builder> action)Information about the activity that is described in a finding.Service.Builderaction(Action action)Information about the activity that is described in a finding.default Service.BuilderadditionalInfo(Consumer<ServiceAdditionalInfo.Builder> additionalInfo)Contains additional information about the generated finding.Service.BuilderadditionalInfo(ServiceAdditionalInfo additionalInfo)Contains additional information about the generated finding.Service.Builderarchived(Boolean archived)Indicates whether this finding is archived.Service.Buildercount(Integer count)The total count of the occurrences of this finding type.default Service.Builderdetection(Consumer<Detection.Builder> detection)Contains information about the detected unusual behavior.Service.Builderdetection(Detection detection)Contains information about the detected unusual behavior.Service.BuilderdetectorId(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.Service.BuilderebsVolumeScanDetails(EbsVolumeScanDetails ebsVolumeScanDetails)Returns details from the malware scan that created a finding.Service.BuildereventFirstSeen(String eventFirstSeen)The first-seen timestamp of the activity that prompted GuardDuty to generate this finding.Service.BuildereventLastSeen(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.Service.Builderevidence(Evidence evidence)An evidence object associated with the service.Service.BuilderfeatureName(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.Service.BuildermalwareScanDetails(MalwareScanDetails malwareScanDetails)Returns details from the malware scan that generated a GuardDuty finding.Service.BuilderresourceRole(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 findingService.BuilderruntimeDetails(RuntimeDetails runtimeDetails)Information about the process and any required context values for a specific findingService.BuilderserviceName(String serviceName)The name of the Amazon Web Services service (GuardDuty) that generated a finding.Service.BuilderuserFeedback(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 Detail
-
action
Service.Builder action(Action 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
default Service.Builder action(Consumer<Action.Builder> 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:
action(Action)
-
evidence
Service.Builder evidence(Evidence 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
default Service.Builder evidence(Consumer<Evidence.Builder> 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:
evidence(Evidence)
-
archived
Service.Builder archived(Boolean 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
Service.Builder count(Integer 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
Service.Builder detectorId(String 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
Service.Builder eventFirstSeen(String 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
Service.Builder eventLastSeen(String 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
Service.Builder resourceRole(String 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
Service.Builder serviceName(String 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
Service.Builder userFeedback(String 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
Service.Builder additionalInfo(ServiceAdditionalInfo 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
default Service.Builder additionalInfo(Consumer<ServiceAdditionalInfo.Builder> 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:
additionalInfo(ServiceAdditionalInfo)
-
featureName
Service.Builder featureName(String 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
Service.Builder ebsVolumeScanDetails(EbsVolumeScanDetails 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:
ebsVolumeScanDetails(EbsVolumeScanDetails)
-
runtimeDetails
Service.Builder runtimeDetails(RuntimeDetails 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
default Service.Builder runtimeDetails(Consumer<RuntimeDetails.Builder> 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:
runtimeDetails(RuntimeDetails)
-
detection
Service.Builder detection(Detection 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
default Service.Builder detection(Consumer<Detection.Builder> 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:
detection(Detection)
-
malwareScanDetails
Service.Builder malwareScanDetails(MalwareScanDetails 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
default Service.Builder malwareScanDetails(Consumer<MalwareScanDetails.Builder> 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:
malwareScanDetails(MalwareScanDetails)
-
-