public static interface Service.Builder extends CopyableBuilder<Service.Builder,Service>
Modifier and Type | Method and Description |
---|---|
Service.Builder |
action(Action action)
Information about the activity described in a finding.
|
default Service.Builder |
action(Consumer<Action.Builder> action)
Information about the activity described in a finding.
|
Service.Builder |
archived(Boolean archived)
Indicates whether this finding is archived.
|
Service.Builder |
count(Integer count)
Total count of the occurrences of this finding type.
|
Service.Builder |
detectorId(String detectorId)
Detector ID for the GuardDuty service.
|
Service.Builder |
eventFirstSeen(String eventFirstSeen)
First seen timestamp of the activity that prompted GuardDuty to generate this finding.
|
Service.Builder |
eventLastSeen(String eventLastSeen)
Last seen timestamp of the activity that prompted GuardDuty to generate this finding.
|
Service.Builder |
resourceRole(String resourceRole)
Resource role information for this finding.
|
Service.Builder |
serviceName(String serviceName)
The name of the AWS service (GuardDuty) that generated a finding.
|
Service.Builder |
userFeedback(String userFeedback)
Feedback left about the finding.
|
copy
apply, build
Service.Builder action(Action action)
action
- Information about the activity described in a finding.default Service.Builder action(Consumer<Action.Builder> action)
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)
.action
- a consumer that will call methods on Action.Builder
action(Action)
Service.Builder archived(Boolean archived)
archived
- Indicates whether this finding is archived.Service.Builder count(Integer count)
count
- Total count of the occurrences of this finding type.Service.Builder detectorId(String detectorId)
detectorId
- Detector ID for the GuardDuty service.Service.Builder eventFirstSeen(String eventFirstSeen)
eventFirstSeen
- First seen timestamp of the activity that prompted GuardDuty to generate this finding.Service.Builder eventLastSeen(String eventLastSeen)
eventLastSeen
- Last seen timestamp of the activity that prompted GuardDuty to generate this finding.Service.Builder resourceRole(String resourceRole)
resourceRole
- Resource role information for this finding.Service.Builder serviceName(String serviceName)
serviceName
- The name of the AWS service (GuardDuty) that generated a finding.Service.Builder userFeedback(String userFeedback)
userFeedback
- Feedback left about the finding.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.