Class EventLogConfig
- java.lang.Object
-
- software.amazon.awssdk.services.appsync.model.EventLogConfig
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<EventLogConfig.Builder,EventLogConfig>
@Generated("software.amazon.awssdk:codegen") public final class EventLogConfig extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EventLogConfig.Builder,EventLogConfig>
Describes the CloudWatch Logs configuration for the Event API.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceEventLogConfig.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EventLogConfig.Builderbuilder()StringcloudWatchLogsRoleArn()The IAM service role that AppSync assumes to publish CloudWatch Logs in your account.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()EventLogLevellogLevel()The type of information to log for the Event API.StringlogLevelAsString()The type of information to log for the Event API.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends EventLogConfig.Builder>serializableBuilderClass()EventLogConfig.BuildertoBuilder()StringtoString()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 EventLogLevel logLevel()
The type of information to log for the Event API.
If the service returns an enum value that is not available in the current SDK version,
logLevelwill returnEventLogLevel.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlogLevelAsString().- Returns:
- The type of information to log for the Event API.
- See Also:
EventLogLevel
-
logLevelAsString
public final String logLevelAsString()
The type of information to log for the Event API.
If the service returns an enum value that is not available in the current SDK version,
logLevelwill returnEventLogLevel.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlogLevelAsString().- Returns:
- The type of information to log for the Event API.
- See Also:
EventLogLevel
-
cloudWatchLogsRoleArn
public final String cloudWatchLogsRoleArn()
The IAM service role that AppSync assumes to publish CloudWatch Logs in your account.
- Returns:
- The IAM service role that AppSync assumes to publish CloudWatch Logs in your account.
-
toBuilder
public EventLogConfig.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<EventLogConfig.Builder,EventLogConfig>
-
builder
public static EventLogConfig.Builder builder()
-
serializableBuilderClass
public static Class<? extends EventLogConfig.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin 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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-