@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Service extends Object implements Serializable, Cloneable, StructuredPojo
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.
|
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 |
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; useful for testing and debugging.
|
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 |
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)
action
- Information about the activity described in a finding.public Action getAction()
public Service withAction(Action action)
action
- Information about the activity described in a finding.public void setArchived(Boolean archived)
archived
- Indicates whether this finding is archived.public Boolean getArchived()
public Service withArchived(Boolean archived)
archived
- Indicates whether this finding is archived.public Boolean isArchived()
public void setCount(Integer count)
count
- Total count of the occurrences of this finding type.public Integer getCount()
public Service withCount(Integer count)
count
- Total count of the occurrences of this finding type.public void setDetectorId(String detectorId)
detectorId
- Detector ID for the GuardDuty service.public String getDetectorId()
public Service withDetectorId(String detectorId)
detectorId
- Detector ID for the GuardDuty service.public void setEventFirstSeen(String eventFirstSeen)
eventFirstSeen
- First seen timestamp of the activity that prompted GuardDuty to generate this finding.public String getEventFirstSeen()
public Service withEventFirstSeen(String eventFirstSeen)
eventFirstSeen
- First seen timestamp of the activity that prompted GuardDuty to generate this finding.public void setEventLastSeen(String eventLastSeen)
eventLastSeen
- Last seen timestamp of the activity that prompted GuardDuty to generate this finding.public String getEventLastSeen()
public Service withEventLastSeen(String eventLastSeen)
eventLastSeen
- Last seen timestamp of the activity that prompted GuardDuty to generate this finding.public void setResourceRole(String resourceRole)
resourceRole
- Resource role information for this finding.public String getResourceRole()
public Service withResourceRole(String resourceRole)
resourceRole
- Resource role information for this finding.public void setServiceName(String serviceName)
serviceName
- The name of the AWS service (GuardDuty) that generated a finding.public String getServiceName()
public Service withServiceName(String serviceName)
serviceName
- The name of the AWS service (GuardDuty) that generated a finding.public void setUserFeedback(String userFeedback)
userFeedback
- Feedback left about the finding.public String getUserFeedback()
public Service withUserFeedback(String userFeedback)
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.