public static interface Service.Builder extends SdkPojo, CopyableBuilder<Service.Builder,Service>
| Modifier and Type | Method and Description |
|---|---|
Service.Builder |
action(Action action)
Information about the activity that is described in a finding.
|
default Service.Builder |
action(Consumer<Action.Builder> action)
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.
|
Service.Builder |
additionalInfo(ServiceAdditionalInfo additionalInfo)
Contains additional information about the generated finding.
|
Service.Builder |
archived(Boolean archived)
Indicates whether this finding is archived.
|
Service.Builder |
count(Integer count)
The total count of the occurrences of this finding type.
|
Service.Builder |
detectorId(String detectorId)
The detector ID for the GuardDuty service.
|
Service.Builder |
eventFirstSeen(String eventFirstSeen)
The first-seen timestamp of the activity that prompted GuardDuty to generate this finding.
|
Service.Builder |
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.
|
Service.Builder |
evidence(Evidence evidence)
An evidence object associated with the service.
|
Service.Builder |
resourceRole(String resourceRole)
The resource role information for this finding.
|
Service.Builder |
serviceName(String serviceName)
The name of the Amazon Web Services service (GuardDuty) that generated a finding.
|
Service.Builder |
userFeedback(String userFeedback)
Feedback that was submitted about the finding.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildService.Builder action(Action action)
Information about the activity that is described in a finding.
action - Information about the activity that is described in a finding.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.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).action - a consumer that will call methods on Action.Builderaction(Action)Service.Builder evidence(Evidence evidence)
An evidence object associated with the service.
evidence - An evidence object associated with the service.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.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).evidence - a consumer that will call methods on Evidence.Builderevidence(Evidence)Service.Builder archived(Boolean archived)
Indicates whether this finding is archived.
archived - Indicates whether this finding is archived.Service.Builder count(Integer count)
The total count of the occurrences of this finding type.
count - The total count of the occurrences of this finding type.Service.Builder detectorId(String detectorId)
The detector ID for the GuardDuty service.
detectorId - The detector ID for the GuardDuty service.Service.Builder eventFirstSeen(String eventFirstSeen)
The first-seen timestamp of the activity that prompted GuardDuty to generate this finding.
eventFirstSeen - The first-seen timestamp of the activity that prompted GuardDuty to generate this finding.Service.Builder eventLastSeen(String eventLastSeen)
The last-seen timestamp of the activity that prompted GuardDuty to generate this finding.
eventLastSeen - The last-seen timestamp of the activity that prompted GuardDuty to generate this finding.Service.Builder resourceRole(String resourceRole)
The resource role information for this finding.
resourceRole - The resource role information for this finding.Service.Builder serviceName(String serviceName)
The name of the Amazon Web Services service (GuardDuty) that generated a finding.
serviceName - The name of the Amazon Web Services service (GuardDuty) that generated a finding.Service.Builder userFeedback(String userFeedback)
Feedback that was submitted about the finding.
userFeedback - Feedback that was submitted about the finding.Service.Builder additionalInfo(ServiceAdditionalInfo additionalInfo)
Contains additional information about the generated finding.
additionalInfo - Contains additional information about the generated finding.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.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).additionalInfo - a consumer that will call methods on ServiceAdditionalInfo.BuilderadditionalInfo(ServiceAdditionalInfo)Copyright © 2022. All rights reserved.