@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CloudTrailConfigurationResult extends Object implements Serializable, Cloneable, StructuredPojo
Contains information on the status of CloudTrail as a data source for the detector.
| Constructor and Description |
|---|
CloudTrailConfigurationResult() |
| Modifier and Type | Method and Description |
|---|---|
CloudTrailConfigurationResult |
clone() |
boolean |
equals(Object obj) |
String |
getStatus()
Describes whether CloudTrail is enabled 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)
Describes whether CloudTrail is enabled as a data source for the detector.
|
String |
toString()
Returns a string representation of this object.
|
CloudTrailConfigurationResult |
withStatus(DataSourceStatus status)
Describes whether CloudTrail is enabled as a data source for the detector.
|
CloudTrailConfigurationResult |
withStatus(String status)
Describes whether CloudTrail is enabled as a data source for the detector.
|
public void setStatus(String status)
Describes whether CloudTrail is enabled as a data source for the detector.
status - Describes whether CloudTrail is enabled as a data source for the detector.DataSourceStatuspublic String getStatus()
Describes whether CloudTrail is enabled as a data source for the detector.
DataSourceStatuspublic CloudTrailConfigurationResult withStatus(String status)
Describes whether CloudTrail is enabled as a data source for the detector.
status - Describes whether CloudTrail is enabled as a data source for the detector.DataSourceStatuspublic CloudTrailConfigurationResult withStatus(DataSourceStatus status)
Describes whether CloudTrail is enabled as a data source for the detector.
status - Describes whether CloudTrail is enabled as a data source for the detector.DataSourceStatuspublic String toString()
toString in class ObjectObject.toString()public CloudTrailConfigurationResult clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.