Class LogConfigurationType
- java.lang.Object
-
- software.amazon.awssdk.services.cognitoidentityprovider.model.LogConfigurationType
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<LogConfigurationType.Builder,LogConfigurationType>
@Generated("software.amazon.awssdk:codegen") public final class LogConfigurationType extends Object implements SdkPojo, Serializable, ToCopyableBuilder<LogConfigurationType.Builder,LogConfigurationType>
The logging parameters of a user pool.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
LogConfigurationType.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LogConfigurationType.Builder
builder()
CloudWatchLogsConfigurationType
cloudWatchLogsConfiguration()
The CloudWatch logging destination of a user pool.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
EventSourceName
eventSource()
The source of events that your user pool sends for detailed activity logging.String
eventSourceAsString()
The source of events that your user pool sends for detailed activity logging.<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
LogLevel
logLevel()
Theerrorlevel
selection of logs that a user pool sends for detailed activity logging.String
logLevelAsString()
Theerrorlevel
selection of logs that a user pool sends for detailed activity logging.List<SdkField<?>>
sdkFields()
static Class<? extends LogConfigurationType.Builder>
serializableBuilderClass()
LogConfigurationType.Builder
toBuilder()
String
toString()
Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
logLevel
public final LogLevel logLevel()
The
errorlevel
selection of logs that a user pool sends for detailed activity logging.If the service returns an enum value that is not available in the current SDK version,
logLevel
will returnLogLevel.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromlogLevelAsString()
.- Returns:
- The
errorlevel
selection of logs that a user pool sends for detailed activity logging. - See Also:
LogLevel
-
logLevelAsString
public final String logLevelAsString()
The
errorlevel
selection of logs that a user pool sends for detailed activity logging.If the service returns an enum value that is not available in the current SDK version,
logLevel
will returnLogLevel.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromlogLevelAsString()
.- Returns:
- The
errorlevel
selection of logs that a user pool sends for detailed activity logging. - See Also:
LogLevel
-
eventSource
public final EventSourceName eventSource()
The source of events that your user pool sends for detailed activity logging.
If the service returns an enum value that is not available in the current SDK version,
eventSource
will returnEventSourceName.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromeventSourceAsString()
.- Returns:
- The source of events that your user pool sends for detailed activity logging.
- See Also:
EventSourceName
-
eventSourceAsString
public final String eventSourceAsString()
The source of events that your user pool sends for detailed activity logging.
If the service returns an enum value that is not available in the current SDK version,
eventSource
will returnEventSourceName.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromeventSourceAsString()
.- Returns:
- The source of events that your user pool sends for detailed activity logging.
- See Also:
EventSourceName
-
cloudWatchLogsConfiguration
public final CloudWatchLogsConfigurationType cloudWatchLogsConfiguration()
The CloudWatch logging destination of a user pool.
- Returns:
- The CloudWatch logging destination of a user pool.
-
toBuilder
public LogConfigurationType.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<LogConfigurationType.Builder,LogConfigurationType>
-
builder
public static LogConfigurationType.Builder builder()
-
serializableBuilderClass
public static Class<? extends LogConfigurationType.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-