public class LogConfigurationType
extends java.lang.Object
implements java.io.Serializable
The logging parameters of a user pool.
| Constructor and Description |
|---|
LogConfigurationType() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
CloudWatchLogsConfigurationType |
getCloudWatchLogsConfiguration()
The CloudWatch logging destination of a user pool.
|
java.lang.String |
getEventSource()
The source of events that your user pool sends for detailed activity
logging.
|
java.lang.String |
getLogLevel()
The
errorlevel selection of logs that a user pool sends for
detailed activity logging. |
int |
hashCode() |
void |
setCloudWatchLogsConfiguration(CloudWatchLogsConfigurationType cloudWatchLogsConfiguration)
The CloudWatch logging destination of a user pool.
|
void |
setEventSource(EventSourceName eventSource)
The source of events that your user pool sends for detailed activity
logging.
|
void |
setEventSource(java.lang.String eventSource)
The source of events that your user pool sends for detailed activity
logging.
|
void |
setLogLevel(LogLevel logLevel)
The
errorlevel selection of logs that a user pool sends for
detailed activity logging. |
void |
setLogLevel(java.lang.String logLevel)
The
errorlevel selection of logs that a user pool sends for
detailed activity logging. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
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(java.lang.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(java.lang.String logLevel)
The
errorlevel selection of logs that a user pool sends for
detailed activity logging. |
public java.lang.String getLogLevel()
The errorlevel selection of logs that a user pool sends for
detailed activity logging.
Constraints:
Allowed Values: ERROR
The errorlevel selection of logs that a user pool
sends for detailed activity logging.
LogLevelpublic void setLogLevel(java.lang.String logLevel)
The errorlevel selection of logs that a user pool sends for
detailed activity logging.
Constraints:
Allowed Values: ERROR
logLevel -
The errorlevel selection of logs that a user pool
sends for detailed activity logging.
LogLevelpublic LogConfigurationType withLogLevel(java.lang.String logLevel)
The errorlevel selection of logs that a user pool sends for
detailed activity logging.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: ERROR
logLevel -
The errorlevel selection of logs that a user pool
sends for detailed activity logging.
LogLevelpublic void setLogLevel(LogLevel logLevel)
The errorlevel selection of logs that a user pool sends for
detailed activity logging.
Constraints:
Allowed Values: ERROR
logLevel -
The errorlevel selection of logs that a user pool
sends for detailed activity logging.
LogLevelpublic LogConfigurationType withLogLevel(LogLevel logLevel)
The errorlevel selection of logs that a user pool sends for
detailed activity logging.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: ERROR
logLevel -
The errorlevel selection of logs that a user pool
sends for detailed activity logging.
LogLevelpublic java.lang.String getEventSource()
The source of events that your user pool sends for detailed activity logging.
Constraints:
Allowed Values: userNotification
The source of events that your user pool sends for detailed activity logging.
EventSourceNamepublic void setEventSource(java.lang.String eventSource)
The source of events that your user pool sends for detailed activity logging.
Constraints:
Allowed Values: userNotification
eventSource - The source of events that your user pool sends for detailed activity logging.
EventSourceNamepublic LogConfigurationType withEventSource(java.lang.String eventSource)
The source of events that your user pool sends for detailed activity logging.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: userNotification
eventSource - The source of events that your user pool sends for detailed activity logging.
EventSourceNamepublic void setEventSource(EventSourceName eventSource)
The source of events that your user pool sends for detailed activity logging.
Constraints:
Allowed Values: userNotification
eventSource - The source of events that your user pool sends for detailed activity logging.
EventSourceNamepublic LogConfigurationType withEventSource(EventSourceName eventSource)
The source of events that your user pool sends for detailed activity logging.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: userNotification
eventSource - The source of events that your user pool sends for detailed activity logging.
EventSourceNamepublic CloudWatchLogsConfigurationType getCloudWatchLogsConfiguration()
The CloudWatch logging destination of a user pool.
The CloudWatch logging destination of a user pool.
public void setCloudWatchLogsConfiguration(CloudWatchLogsConfigurationType cloudWatchLogsConfiguration)
The CloudWatch logging destination of a user pool.
cloudWatchLogsConfiguration - The CloudWatch logging destination of a user pool.
public LogConfigurationType withCloudWatchLogsConfiguration(CloudWatchLogsConfigurationType cloudWatchLogsConfiguration)
The CloudWatch logging destination of a user pool.
Returns a reference to this object so that method calls can be chained together.
cloudWatchLogsConfiguration - The CloudWatch logging destination of a user pool.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object