@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LogConfigurationType extends Object implements Serializable, Cloneable, StructuredPojo
The logging parameters of a user pool.
Constructor and Description |
---|
LogConfigurationType() |
Modifier and Type | Method and Description |
---|---|
LogConfigurationType |
clone() |
boolean |
equals(Object obj) |
CloudWatchLogsConfigurationType |
getCloudWatchLogsConfiguration()
The CloudWatch logging destination of a user pool.
|
String |
getEventSource()
The source of events that your user pool sends for detailed activity logging.
|
String |
getLogLevel()
The
errorlevel selection of logs that a user pool sends for detailed activity logging. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCloudWatchLogsConfiguration(CloudWatchLogsConfigurationType cloudWatchLogsConfiguration)
The CloudWatch logging destination of a user pool.
|
void |
setEventSource(String eventSource)
The source of events that your user pool sends for detailed activity logging.
|
void |
setLogLevel(String logLevel)
The
errorlevel selection of logs that a user pool sends for detailed activity logging. |
String |
toString()
Returns a string representation of this object.
|
LogConfigurationType |
withCloudWatchLogsConfiguration(CloudWatchLogsConfigurationType cloudWatchLogsConfiguration)
The CloudWatch logging destination of a user pool.
|
LogConfigurationType |
withEventSource(EventSourceName eventSource)
The source of events that your user pool sends for detailed activity logging.
|
LogConfigurationType |
withEventSource(String eventSource)
The source of events that your user pool sends for detailed activity logging.
|
LogConfigurationType |
withLogLevel(LogLevel logLevel)
The
errorlevel selection of logs that a user pool sends for detailed activity logging. |
LogConfigurationType |
withLogLevel(String logLevel)
The
errorlevel selection of logs that a user pool sends for detailed activity logging. |
public void setLogLevel(String logLevel)
The errorlevel
selection of logs that a user pool sends for detailed activity logging.
logLevel
- The errorlevel
selection of logs that a user pool sends for detailed activity logging.LogLevel
public String getLogLevel()
The errorlevel
selection of logs that a user pool sends for detailed activity logging.
errorlevel
selection of logs that a user pool sends for detailed activity logging.LogLevel
public LogConfigurationType withLogLevel(String logLevel)
The errorlevel
selection of logs that a user pool sends for detailed activity logging.
logLevel
- The errorlevel
selection of logs that a user pool sends for detailed activity logging.LogLevel
public LogConfigurationType withLogLevel(LogLevel logLevel)
The errorlevel
selection of logs that a user pool sends for detailed activity logging.
logLevel
- The errorlevel
selection of logs that a user pool sends for detailed activity logging.LogLevel
public void setEventSource(String eventSource)
The source of events that your user pool sends for detailed activity logging.
eventSource
- The source of events that your user pool sends for detailed activity logging.EventSourceName
public String getEventSource()
The source of events that your user pool sends for detailed activity logging.
EventSourceName
public LogConfigurationType withEventSource(String eventSource)
The source of events that your user pool sends for detailed activity logging.
eventSource
- The source of events that your user pool sends for detailed activity logging.EventSourceName
public LogConfigurationType withEventSource(EventSourceName eventSource)
The source of events that your user pool sends for detailed activity logging.
eventSource
- The source of events that your user pool sends for detailed activity logging.EventSourceName
public void setCloudWatchLogsConfiguration(CloudWatchLogsConfigurationType cloudWatchLogsConfiguration)
The CloudWatch logging destination of a user pool.
cloudWatchLogsConfiguration
- The CloudWatch logging destination of a user pool.public CloudWatchLogsConfigurationType getCloudWatchLogsConfiguration()
The CloudWatch logging destination of a user pool.
public LogConfigurationType withCloudWatchLogsConfiguration(CloudWatchLogsConfigurationType cloudWatchLogsConfiguration)
The CloudWatch logging destination of a user pool.
cloudWatchLogsConfiguration
- The CloudWatch logging destination of a user pool.public String toString()
toString
in class Object
Object.toString()
public LogConfigurationType clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.