@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DNSLogsConfigurationResult extends Object implements Serializable, Cloneable, StructuredPojo
Contains information on the status of DNS logs as a data source.
| Constructor and Description |
|---|
DNSLogsConfigurationResult() |
| Modifier and Type | Method and Description |
|---|---|
DNSLogsConfigurationResult |
clone() |
boolean |
equals(Object obj) |
String |
getStatus()
Denotes whether DNS logs is enabled as a data source.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setStatus(String status)
Denotes whether DNS logs is enabled as a data source.
|
String |
toString()
Returns a string representation of this object.
|
DNSLogsConfigurationResult |
withStatus(DataSourceStatus status)
Denotes whether DNS logs is enabled as a data source.
|
DNSLogsConfigurationResult |
withStatus(String status)
Denotes whether DNS logs is enabled as a data source.
|
public void setStatus(String status)
Denotes whether DNS logs is enabled as a data source.
status - Denotes whether DNS logs is enabled as a data source.DataSourceStatuspublic String getStatus()
Denotes whether DNS logs is enabled as a data source.
DataSourceStatuspublic DNSLogsConfigurationResult withStatus(String status)
Denotes whether DNS logs is enabled as a data source.
status - Denotes whether DNS logs is enabled as a data source.DataSourceStatuspublic DNSLogsConfigurationResult withStatus(DataSourceStatus status)
Denotes whether DNS logs is enabled as a data source.
status - Denotes whether DNS logs is enabled as a data source.DataSourceStatuspublic String toString()
toString in class ObjectObject.toString()public DNSLogsConfigurationResult clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.