@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Service extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about the service.
Constructor and Description |
---|
Service() |
Modifier and Type | Method and Description |
---|---|
Service |
clone() |
boolean |
equals(Object obj) |
Action |
getAction()
Information about the activity described in a finding.
|
Boolean |
getArchived()
Indicates whether this finding is archived.
|
Integer |
getCount()
Total count of the occurrences of this finding type.
|
String |
getDetectorId()
Detector ID for the GuardDuty service.
|
String |
getEventFirstSeen()
First seen timestamp of the activity that prompted GuardDuty to generate this finding.
|
String |
getEventLastSeen()
Last seen timestamp of the activity that prompted GuardDuty to generate this finding.
|
Evidence |
getEvidence()
An evidence object associated with the service.
|
String |
getResourceRole()
Resource role information for this finding.
|
String |
getServiceName()
The name of the AWS service (GuardDuty) that generated a finding.
|
String |
getUserFeedback()
Feedback left about the finding.
|
int |
hashCode() |
Boolean |
isArchived()
Indicates whether this finding is archived.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAction(Action action)
Information about the activity described in a finding.
|
void |
setArchived(Boolean archived)
Indicates whether this finding is archived.
|
void |
setCount(Integer count)
Total count of the occurrences of this finding type.
|
void |
setDetectorId(String detectorId)
Detector ID for the GuardDuty service.
|
void |
setEventFirstSeen(String eventFirstSeen)
First seen timestamp of the activity that prompted GuardDuty to generate this finding.
|
void |
setEventLastSeen(String eventLastSeen)
Last seen timestamp of the activity that prompted GuardDuty to generate this finding.
|
void |
setEvidence(Evidence evidence)
An evidence object associated with the service.
|
void |
setResourceRole(String resourceRole)
Resource role information for this finding.
|
void |
setServiceName(String serviceName)
The name of the AWS service (GuardDuty) that generated a finding.
|
void |
setUserFeedback(String userFeedback)
Feedback left about the finding.
|
String |
toString()
Returns a string representation of this object.
|
Service |
withAction(Action action)
Information about the activity described in a finding.
|
Service |
withArchived(Boolean archived)
Indicates whether this finding is archived.
|
Service |
withCount(Integer count)
Total count of the occurrences of this finding type.
|
Service |
withDetectorId(String detectorId)
Detector ID for the GuardDuty service.
|
Service |
withEventFirstSeen(String eventFirstSeen)
First seen timestamp of the activity that prompted GuardDuty to generate this finding.
|
Service |
withEventLastSeen(String eventLastSeen)
Last seen timestamp of the activity that prompted GuardDuty to generate this finding.
|
Service |
withEvidence(Evidence evidence)
An evidence object associated with the service.
|
Service |
withResourceRole(String resourceRole)
Resource role information for this finding.
|
Service |
withServiceName(String serviceName)
The name of the AWS service (GuardDuty) that generated a finding.
|
Service |
withUserFeedback(String userFeedback)
Feedback left about the finding.
|
public void setAction(Action action)
Information about the activity described in a finding.
action
- Information about the activity described in a finding.public Action getAction()
Information about the activity described in a finding.
public Service withAction(Action action)
Information about the activity described in a finding.
action
- Information about the activity described in a finding.public void setEvidence(Evidence evidence)
An evidence object associated with the service.
evidence
- An evidence object associated with the service.public Evidence getEvidence()
An evidence object associated with the service.
public Service withEvidence(Evidence evidence)
An evidence object associated with the service.
evidence
- An evidence object associated with the service.public void setArchived(Boolean archived)
Indicates whether this finding is archived.
archived
- Indicates whether this finding is archived.public Boolean getArchived()
Indicates whether this finding is archived.
public Service withArchived(Boolean archived)
Indicates whether this finding is archived.
archived
- Indicates whether this finding is archived.public Boolean isArchived()
Indicates whether this finding is archived.
public void setCount(Integer count)
Total count of the occurrences of this finding type.
count
- Total count of the occurrences of this finding type.public Integer getCount()
Total count of the occurrences of this finding type.
public Service withCount(Integer count)
Total count of the occurrences of this finding type.
count
- Total count of the occurrences of this finding type.public void setDetectorId(String detectorId)
Detector ID for the GuardDuty service.
detectorId
- Detector ID for the GuardDuty service.public String getDetectorId()
Detector ID for the GuardDuty service.
public Service withDetectorId(String detectorId)
Detector ID for the GuardDuty service.
detectorId
- Detector ID for the GuardDuty service.public void setEventFirstSeen(String eventFirstSeen)
First seen timestamp of the activity that prompted GuardDuty to generate this finding.
eventFirstSeen
- First seen timestamp of the activity that prompted GuardDuty to generate this finding.public String getEventFirstSeen()
First seen timestamp of the activity that prompted GuardDuty to generate this finding.
public Service withEventFirstSeen(String eventFirstSeen)
First seen timestamp of the activity that prompted GuardDuty to generate this finding.
eventFirstSeen
- First seen timestamp of the activity that prompted GuardDuty to generate this finding.public void setEventLastSeen(String eventLastSeen)
Last seen timestamp of the activity that prompted GuardDuty to generate this finding.
eventLastSeen
- Last seen timestamp of the activity that prompted GuardDuty to generate this finding.public String getEventLastSeen()
Last seen timestamp of the activity that prompted GuardDuty to generate this finding.
public Service withEventLastSeen(String eventLastSeen)
Last seen timestamp of the activity that prompted GuardDuty to generate this finding.
eventLastSeen
- Last seen timestamp of the activity that prompted GuardDuty to generate this finding.public void setResourceRole(String resourceRole)
Resource role information for this finding.
resourceRole
- Resource role information for this finding.public String getResourceRole()
Resource role information for this finding.
public Service withResourceRole(String resourceRole)
Resource role information for this finding.
resourceRole
- Resource role information for this finding.public void setServiceName(String serviceName)
The name of the AWS service (GuardDuty) that generated a finding.
serviceName
- The name of the AWS service (GuardDuty) that generated a finding.public String getServiceName()
The name of the AWS service (GuardDuty) that generated a finding.
public Service withServiceName(String serviceName)
The name of the AWS service (GuardDuty) that generated a finding.
serviceName
- The name of the AWS service (GuardDuty) that generated a finding.public void setUserFeedback(String userFeedback)
Feedback left about the finding.
userFeedback
- Feedback left about the finding.public String getUserFeedback()
Feedback left about the finding.
public Service withUserFeedback(String userFeedback)
Feedback left about the finding.
userFeedback
- Feedback left about the finding.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.