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