@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LogSetup extends Object implements Serializable, Cloneable, StructuredPojo
An object representing the enabled or disabled Kubernetes control plane logs for your cluster.
Constructor and Description |
---|
LogSetup() |
Modifier and Type | Method and Description |
---|---|
LogSetup |
clone() |
boolean |
equals(Object obj) |
Boolean |
getEnabled()
If a log type is enabled, that log type exports its control plane logs to CloudWatch Logs.
|
List<String> |
getTypes()
The available cluster control plane log types.
|
int |
hashCode() |
Boolean |
isEnabled()
If a log type is enabled, that log type exports its control plane logs to CloudWatch Logs.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEnabled(Boolean enabled)
If a log type is enabled, that log type exports its control plane logs to CloudWatch Logs.
|
void |
setTypes(Collection<String> types)
The available cluster control plane log types.
|
String |
toString()
Returns a string representation of this object.
|
LogSetup |
withEnabled(Boolean enabled)
If a log type is enabled, that log type exports its control plane logs to CloudWatch Logs.
|
LogSetup |
withTypes(Collection<String> types)
The available cluster control plane log types.
|
LogSetup |
withTypes(LogType... types)
The available cluster control plane log types.
|
LogSetup |
withTypes(String... types)
The available cluster control plane log types.
|
public List<String> getTypes()
The available cluster control plane log types.
LogType
public void setTypes(Collection<String> types)
The available cluster control plane log types.
types
- The available cluster control plane log types.LogType
public LogSetup withTypes(String... types)
The available cluster control plane log types.
NOTE: This method appends the values to the existing list (if any). Use
setTypes(java.util.Collection)
or withTypes(java.util.Collection)
if you want to override the
existing values.
types
- The available cluster control plane log types.LogType
public LogSetup withTypes(Collection<String> types)
The available cluster control plane log types.
types
- The available cluster control plane log types.LogType
public LogSetup withTypes(LogType... types)
The available cluster control plane log types.
types
- The available cluster control plane log types.LogType
public void setEnabled(Boolean enabled)
If a log type is enabled, that log type exports its control plane logs to CloudWatch Logs. If a log type isn't enabled, that log type doesn't export its control plane logs. Each individual log type can be enabled or disabled independently.
enabled
- If a log type is enabled, that log type exports its control plane logs to CloudWatch Logs. If a log type
isn't enabled, that log type doesn't export its control plane logs. Each individual log type can be
enabled or disabled independently.public Boolean getEnabled()
If a log type is enabled, that log type exports its control plane logs to CloudWatch Logs. If a log type isn't enabled, that log type doesn't export its control plane logs. Each individual log type can be enabled or disabled independently.
public LogSetup withEnabled(Boolean enabled)
If a log type is enabled, that log type exports its control plane logs to CloudWatch Logs. If a log type isn't enabled, that log type doesn't export its control plane logs. Each individual log type can be enabled or disabled independently.
enabled
- If a log type is enabled, that log type exports its control plane logs to CloudWatch Logs. If a log type
isn't enabled, that log type doesn't export its control plane logs. Each individual log type can be
enabled or disabled independently.public Boolean isEnabled()
If a log type is enabled, that log type exports its control plane logs to CloudWatch Logs. If a log type isn't enabled, that log type doesn't export its control plane logs. Each individual log type can be enabled or disabled independently.
public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.