@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class KubernetesAuditLogsConfigurationResult extends Object implements Serializable, Cloneable, StructuredPojo
Describes whether Kubernetes audit logs are enabled as a data source.
Constructor and Description |
---|
KubernetesAuditLogsConfigurationResult() |
Modifier and Type | Method and Description |
---|---|
KubernetesAuditLogsConfigurationResult |
clone() |
boolean |
equals(Object obj) |
String |
getStatus()
A value that describes whether Kubernetes audit logs are enabled as a data source.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setStatus(String status)
A value that describes whether Kubernetes audit logs are enabled as a data source.
|
String |
toString()
Returns a string representation of this object.
|
KubernetesAuditLogsConfigurationResult |
withStatus(DataSourceStatus status)
A value that describes whether Kubernetes audit logs are enabled as a data source.
|
KubernetesAuditLogsConfigurationResult |
withStatus(String status)
A value that describes whether Kubernetes audit logs are enabled as a data source.
|
public KubernetesAuditLogsConfigurationResult()
public void setStatus(String status)
A value that describes whether Kubernetes audit logs are enabled as a data source.
status
- A value that describes whether Kubernetes audit logs are enabled as a data source.DataSourceStatus
public String getStatus()
A value that describes whether Kubernetes audit logs are enabled as a data source.
DataSourceStatus
public KubernetesAuditLogsConfigurationResult withStatus(String status)
A value that describes whether Kubernetes audit logs are enabled as a data source.
status
- A value that describes whether Kubernetes audit logs are enabled as a data source.DataSourceStatus
public KubernetesAuditLogsConfigurationResult withStatus(DataSourceStatus status)
A value that describes whether Kubernetes audit logs are enabled as a data source.
status
- A value that describes whether Kubernetes audit logs are enabled as a data source.DataSourceStatus
public String toString()
toString
in class Object
Object.toString()
public KubernetesAuditLogsConfigurationResult clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.