@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsApiGatewayV2RouteSettings extends Object implements Serializable, Cloneable, StructuredPojo
Contains route settings for a stage.
Constructor and Description |
---|
AwsApiGatewayV2RouteSettings() |
Modifier and Type | Method and Description |
---|---|
AwsApiGatewayV2RouteSettings |
clone() |
boolean |
equals(Object obj) |
Boolean |
getDataTraceEnabled()
Indicates whether data trace logging is enabled.
|
Boolean |
getDetailedMetricsEnabled()
Indicates whether detailed metrics are enabled.
|
String |
getLoggingLevel()
The logging level.
|
Integer |
getThrottlingBurstLimit()
The throttling burst limit.
|
Double |
getThrottlingRateLimit()
The throttling rate limit.
|
int |
hashCode() |
Boolean |
isDataTraceEnabled()
Indicates whether data trace logging is enabled.
|
Boolean |
isDetailedMetricsEnabled()
Indicates whether detailed metrics are enabled.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDataTraceEnabled(Boolean dataTraceEnabled)
Indicates whether data trace logging is enabled.
|
void |
setDetailedMetricsEnabled(Boolean detailedMetricsEnabled)
Indicates whether detailed metrics are enabled.
|
void |
setLoggingLevel(String loggingLevel)
The logging level.
|
void |
setThrottlingBurstLimit(Integer throttlingBurstLimit)
The throttling burst limit.
|
void |
setThrottlingRateLimit(Double throttlingRateLimit)
The throttling rate limit.
|
String |
toString()
Returns a string representation of this object.
|
AwsApiGatewayV2RouteSettings |
withDataTraceEnabled(Boolean dataTraceEnabled)
Indicates whether data trace logging is enabled.
|
AwsApiGatewayV2RouteSettings |
withDetailedMetricsEnabled(Boolean detailedMetricsEnabled)
Indicates whether detailed metrics are enabled.
|
AwsApiGatewayV2RouteSettings |
withLoggingLevel(String loggingLevel)
The logging level.
|
AwsApiGatewayV2RouteSettings |
withThrottlingBurstLimit(Integer throttlingBurstLimit)
The throttling burst limit.
|
AwsApiGatewayV2RouteSettings |
withThrottlingRateLimit(Double throttlingRateLimit)
The throttling rate limit.
|
public void setDetailedMetricsEnabled(Boolean detailedMetricsEnabled)
Indicates whether detailed metrics are enabled.
detailedMetricsEnabled
- Indicates whether detailed metrics are enabled.public Boolean getDetailedMetricsEnabled()
Indicates whether detailed metrics are enabled.
public AwsApiGatewayV2RouteSettings withDetailedMetricsEnabled(Boolean detailedMetricsEnabled)
Indicates whether detailed metrics are enabled.
detailedMetricsEnabled
- Indicates whether detailed metrics are enabled.public Boolean isDetailedMetricsEnabled()
Indicates whether detailed metrics are enabled.
public void setLoggingLevel(String loggingLevel)
The logging level. The logging level affects the log entries that are pushed to CloudWatch Logs. Supported only for WebSocket APIs.
If the logging level is ERROR
, then the logs only include error-level entries.
If the logging level is INFO
, then the logs include both ERROR
events and extra
informational events.
Valid values: OFF
| ERROR
| INFO
loggingLevel
- The logging level. The logging level affects the log entries that are pushed to CloudWatch Logs. Supported
only for WebSocket APIs.
If the logging level is ERROR
, then the logs only include error-level entries.
If the logging level is INFO
, then the logs include both ERROR
events and extra
informational events.
Valid values: OFF
| ERROR
| INFO
public String getLoggingLevel()
The logging level. The logging level affects the log entries that are pushed to CloudWatch Logs. Supported only for WebSocket APIs.
If the logging level is ERROR
, then the logs only include error-level entries.
If the logging level is INFO
, then the logs include both ERROR
events and extra
informational events.
Valid values: OFF
| ERROR
| INFO
If the logging level is ERROR
, then the logs only include error-level entries.
If the logging level is INFO
, then the logs include both ERROR
events and extra
informational events.
Valid values: OFF
| ERROR
| INFO
public AwsApiGatewayV2RouteSettings withLoggingLevel(String loggingLevel)
The logging level. The logging level affects the log entries that are pushed to CloudWatch Logs. Supported only for WebSocket APIs.
If the logging level is ERROR
, then the logs only include error-level entries.
If the logging level is INFO
, then the logs include both ERROR
events and extra
informational events.
Valid values: OFF
| ERROR
| INFO
loggingLevel
- The logging level. The logging level affects the log entries that are pushed to CloudWatch Logs. Supported
only for WebSocket APIs.
If the logging level is ERROR
, then the logs only include error-level entries.
If the logging level is INFO
, then the logs include both ERROR
events and extra
informational events.
Valid values: OFF
| ERROR
| INFO
public void setDataTraceEnabled(Boolean dataTraceEnabled)
Indicates whether data trace logging is enabled. Data trace logging affects the log entries that are pushed to CloudWatch Logs. Supported only for WebSocket APIs.
dataTraceEnabled
- Indicates whether data trace logging is enabled. Data trace logging affects the log entries that are
pushed to CloudWatch Logs. Supported only for WebSocket APIs.public Boolean getDataTraceEnabled()
Indicates whether data trace logging is enabled. Data trace logging affects the log entries that are pushed to CloudWatch Logs. Supported only for WebSocket APIs.
public AwsApiGatewayV2RouteSettings withDataTraceEnabled(Boolean dataTraceEnabled)
Indicates whether data trace logging is enabled. Data trace logging affects the log entries that are pushed to CloudWatch Logs. Supported only for WebSocket APIs.
dataTraceEnabled
- Indicates whether data trace logging is enabled. Data trace logging affects the log entries that are
pushed to CloudWatch Logs. Supported only for WebSocket APIs.public Boolean isDataTraceEnabled()
Indicates whether data trace logging is enabled. Data trace logging affects the log entries that are pushed to CloudWatch Logs. Supported only for WebSocket APIs.
public void setThrottlingBurstLimit(Integer throttlingBurstLimit)
The throttling burst limit.
throttlingBurstLimit
- The throttling burst limit.public Integer getThrottlingBurstLimit()
The throttling burst limit.
public AwsApiGatewayV2RouteSettings withThrottlingBurstLimit(Integer throttlingBurstLimit)
The throttling burst limit.
throttlingBurstLimit
- The throttling burst limit.public void setThrottlingRateLimit(Double throttlingRateLimit)
The throttling rate limit.
throttlingRateLimit
- The throttling rate limit.public Double getThrottlingRateLimit()
The throttling rate limit.
public AwsApiGatewayV2RouteSettings withThrottlingRateLimit(Double throttlingRateLimit)
The throttling rate limit.
throttlingRateLimit
- The throttling rate limit.public String toString()
toString
in class Object
Object.toString()
public AwsApiGatewayV2RouteSettings clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.