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 Details

    • 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 the Action.Builder avoiding the need to create one manually via Action.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to action(Action).

      Parameters:
      action - a consumer that will call methods on Action.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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 the Evidence.Builder avoiding the need to create one manually via Evidence.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to evidence(Evidence).

      Parameters:
      evidence - a consumer that will call methods on Evidence.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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 the ServiceAdditionalInfo.Builder avoiding the need to create one manually via ServiceAdditionalInfo.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to additionalInfo(ServiceAdditionalInfo).

      Parameters:
      additionalInfo - a consumer that will call methods on ServiceAdditionalInfo.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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 the EbsVolumeScanDetails.Builder avoiding the need to create one manually via EbsVolumeScanDetails.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to ebsVolumeScanDetails(EbsVolumeScanDetails).

      Parameters:
      ebsVolumeScanDetails - a consumer that will call methods on EbsVolumeScanDetails.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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 the RuntimeDetails.Builder avoiding the need to create one manually via RuntimeDetails.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to runtimeDetails(RuntimeDetails).

      Parameters:
      runtimeDetails - a consumer that will call methods on RuntimeDetails.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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 the Detection.Builder avoiding the need to create one manually via Detection.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to detection(Detection).

      Parameters:
      detection - a consumer that will call methods on Detection.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: