@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsGuardDutyDetectorDataSourcesCloudTrailDetails extends Object implements Serializable, Cloneable, StructuredPojo
An object that contains information on the status of CloudTrail as a data source for the detector.
Constructor and Description |
---|
AwsGuardDutyDetectorDataSourcesCloudTrailDetails() |
Modifier and Type | Method and Description |
---|---|
AwsGuardDutyDetectorDataSourcesCloudTrailDetails |
clone() |
boolean |
equals(Object obj) |
String |
getStatus()
Specifies whether CloudTrail is activated as a data source for the detector.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setStatus(String status)
Specifies whether CloudTrail is activated as a data source for the detector.
|
String |
toString()
Returns a string representation of this object.
|
AwsGuardDutyDetectorDataSourcesCloudTrailDetails |
withStatus(String status)
Specifies whether CloudTrail is activated as a data source for the detector.
|
public AwsGuardDutyDetectorDataSourcesCloudTrailDetails()
public void setStatus(String status)
Specifies whether CloudTrail is activated as a data source for the detector.
status
- Specifies whether CloudTrail is activated as a data source for the detector.public String getStatus()
Specifies whether CloudTrail is activated as a data source for the detector.
public AwsGuardDutyDetectorDataSourcesCloudTrailDetails withStatus(String status)
Specifies whether CloudTrail is activated as a data source for the detector.
status
- Specifies whether CloudTrail is activated as a data source for the detector.public String toString()
toString
in class Object
Object.toString()
public AwsGuardDutyDetectorDataSourcesCloudTrailDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.