Class RouteSettings
- java.lang.Object
-
- software.amazon.awssdk.services.apigatewayv2.model.RouteSettings
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<RouteSettings.Builder,RouteSettings>
@Generated("software.amazon.awssdk:codegen") public final class RouteSettings extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RouteSettings.Builder,RouteSettings>
Represents a collection of route settings.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRouteSettings.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RouteSettings.Builderbuilder()BooleandataTraceEnabled()Specifies whether (true) or not (false) data trace logging is enabled for this route.BooleandetailedMetricsEnabled()Specifies whether detailed metrics are enabled.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()LoggingLevelloggingLevel()Specifies the logging level for this route: INFO, ERROR, or OFF.StringloggingLevelAsString()Specifies the logging level for this route: INFO, ERROR, or OFF.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends RouteSettings.Builder>serializableBuilderClass()IntegerthrottlingBurstLimit()Specifies the throttling burst limit.DoublethrottlingRateLimit()Specifies the throttling rate limit.RouteSettings.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
-
dataTraceEnabled
public final Boolean dataTraceEnabled()
Specifies whether (true) or not (false) data trace logging is enabled for this route. This property affects the log entries pushed to Amazon CloudWatch Logs. Supported only for WebSocket APIs.
- Returns:
- Specifies whether (true) or not (false) data trace logging is enabled for this route. This property affects the log entries pushed to Amazon CloudWatch Logs. Supported only for WebSocket APIs.
-
detailedMetricsEnabled
public final Boolean detailedMetricsEnabled()
Specifies whether detailed metrics are enabled.
- Returns:
- Specifies whether detailed metrics are enabled.
-
loggingLevel
public final LoggingLevel loggingLevel()
Specifies the logging level for this route: INFO, ERROR, or OFF. This property affects the log entries pushed to Amazon CloudWatch Logs. Supported only for WebSocket APIs.
If the service returns an enum value that is not available in the current SDK version,
loggingLevelwill returnLoggingLevel.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromloggingLevelAsString().- Returns:
- Specifies the logging level for this route: INFO, ERROR, or OFF. This property affects the log entries pushed to Amazon CloudWatch Logs. Supported only for WebSocket APIs.
- See Also:
LoggingLevel
-
loggingLevelAsString
public final String loggingLevelAsString()
Specifies the logging level for this route: INFO, ERROR, or OFF. This property affects the log entries pushed to Amazon CloudWatch Logs. Supported only for WebSocket APIs.
If the service returns an enum value that is not available in the current SDK version,
loggingLevelwill returnLoggingLevel.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromloggingLevelAsString().- Returns:
- Specifies the logging level for this route: INFO, ERROR, or OFF. This property affects the log entries pushed to Amazon CloudWatch Logs. Supported only for WebSocket APIs.
- See Also:
LoggingLevel
-
throttlingBurstLimit
public final Integer throttlingBurstLimit()
Specifies the throttling burst limit.
- Returns:
- Specifies the throttling burst limit.
-
throttlingRateLimit
public final Double throttlingRateLimit()
Specifies the throttling rate limit.
- Returns:
- Specifies the throttling rate limit.
-
toBuilder
public RouteSettings.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<RouteSettings.Builder,RouteSettings>
-
builder
public static RouteSettings.Builder builder()
-
serializableBuilderClass
public static Class<? extends RouteSettings.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
-
-