@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.DataSourceStatus
public String getStatus()
Describes whether CloudTrail is enabled as a data source for the detector.
DataSourceStatus
public 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.DataSourceStatus
public 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.DataSourceStatus
public String toString()
toString
in class Object
Object.toString()
public CloudTrailConfigurationResult clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.