@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsEksClusterLoggingClusterLoggingDetails extends Object implements Serializable, Cloneable, StructuredPojo
Details for a cluster logging configuration.
| Constructor and Description |
|---|
AwsEksClusterLoggingClusterLoggingDetails() |
| Modifier and Type | Method and Description |
|---|---|
AwsEksClusterLoggingClusterLoggingDetails |
clone() |
boolean |
equals(Object obj) |
Boolean |
getEnabled()
Whether the logging types that are listed in
Types are enabled. |
List<String> |
getTypes()
A list of logging types.
|
int |
hashCode() |
Boolean |
isEnabled()
Whether the logging types that are listed in
Types are enabled. |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setEnabled(Boolean enabled)
Whether the logging types that are listed in
Types are enabled. |
void |
setTypes(Collection<String> types)
A list of logging types.
|
String |
toString()
Returns a string representation of this object.
|
AwsEksClusterLoggingClusterLoggingDetails |
withEnabled(Boolean enabled)
Whether the logging types that are listed in
Types are enabled. |
AwsEksClusterLoggingClusterLoggingDetails |
withTypes(Collection<String> types)
A list of logging types.
|
AwsEksClusterLoggingClusterLoggingDetails |
withTypes(String... types)
A list of logging types.
|
public AwsEksClusterLoggingClusterLoggingDetails()
public void setEnabled(Boolean enabled)
Whether the logging types that are listed in Types are enabled.
enabled - Whether the logging types that are listed in Types are enabled.public Boolean getEnabled()
Whether the logging types that are listed in Types are enabled.
Types are enabled.public AwsEksClusterLoggingClusterLoggingDetails withEnabled(Boolean enabled)
Whether the logging types that are listed in Types are enabled.
enabled - Whether the logging types that are listed in Types are enabled.public Boolean isEnabled()
Whether the logging types that are listed in Types are enabled.
Types are enabled.public List<String> getTypes()
A list of logging types. Valid values are as follows:
api
audit
authenticator
controllerManager
scheduler
api
audit
authenticator
controllerManager
scheduler
public void setTypes(Collection<String> types)
A list of logging types. Valid values are as follows:
api
audit
authenticator
controllerManager
scheduler
types - A list of logging types. Valid values are as follows:
api
audit
authenticator
controllerManager
scheduler
public AwsEksClusterLoggingClusterLoggingDetails withTypes(String... types)
A list of logging types. Valid values are as follows:
api
audit
authenticator
controllerManager
scheduler
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 - A list of logging types. Valid values are as follows:
api
audit
authenticator
controllerManager
scheduler
public AwsEksClusterLoggingClusterLoggingDetails withTypes(Collection<String> types)
A list of logging types. Valid values are as follows:
api
audit
authenticator
controllerManager
scheduler
types - A list of logging types. Valid values are as follows:
api
audit
authenticator
controllerManager
scheduler
public String toString()
toString in class ObjectObject.toString()public AwsEksClusterLoggingClusterLoggingDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.