@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RouteSettings extends Object implements Serializable, Cloneable, StructuredPojo
Represents a collection of route settings.
Constructor and Description |
---|
RouteSettings() |
Modifier and Type | Method and Description |
---|---|
RouteSettings |
clone() |
boolean |
equals(Object obj) |
Boolean |
getDataTraceEnabled()
Specifies whether (true) or not (false) data trace logging is enabled for this route.
|
Boolean |
getDetailedMetricsEnabled()
Specifies whether detailed metrics are enabled.
|
String |
getLoggingLevel()
Specifies the logging level for this route: INFO, ERROR, or OFF.
|
Integer |
getThrottlingBurstLimit()
Specifies the throttling burst limit.
|
Double |
getThrottlingRateLimit()
Specifies the throttling rate limit.
|
int |
hashCode() |
Boolean |
isDataTraceEnabled()
Specifies whether (true) or not (false) data trace logging is enabled for this route.
|
Boolean |
isDetailedMetricsEnabled()
Specifies whether detailed metrics are enabled.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDataTraceEnabled(Boolean dataTraceEnabled)
Specifies whether (true) or not (false) data trace logging is enabled for this route.
|
void |
setDetailedMetricsEnabled(Boolean detailedMetricsEnabled)
Specifies whether detailed metrics are enabled.
|
void |
setLoggingLevel(String loggingLevel)
Specifies the logging level for this route: INFO, ERROR, or OFF.
|
void |
setThrottlingBurstLimit(Integer throttlingBurstLimit)
Specifies the throttling burst limit.
|
void |
setThrottlingRateLimit(Double throttlingRateLimit)
Specifies the throttling rate limit.
|
String |
toString()
Returns a string representation of this object.
|
RouteSettings |
withDataTraceEnabled(Boolean dataTraceEnabled)
Specifies whether (true) or not (false) data trace logging is enabled for this route.
|
RouteSettings |
withDetailedMetricsEnabled(Boolean detailedMetricsEnabled)
Specifies whether detailed metrics are enabled.
|
RouteSettings |
withLoggingLevel(LoggingLevel loggingLevel)
Specifies the logging level for this route: INFO, ERROR, or OFF.
|
RouteSettings |
withLoggingLevel(String loggingLevel)
Specifies the logging level for this route: INFO, ERROR, or OFF.
|
RouteSettings |
withThrottlingBurstLimit(Integer throttlingBurstLimit)
Specifies the throttling burst limit.
|
RouteSettings |
withThrottlingRateLimit(Double throttlingRateLimit)
Specifies the throttling rate limit.
|
public void setDataTraceEnabled(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.
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.public Boolean getDataTraceEnabled()
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.
public RouteSettings withDataTraceEnabled(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.
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.public Boolean isDataTraceEnabled()
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.
public void setDetailedMetricsEnabled(Boolean detailedMetricsEnabled)
Specifies whether detailed metrics are enabled.
detailedMetricsEnabled
- Specifies whether detailed metrics are enabled.public Boolean getDetailedMetricsEnabled()
Specifies whether detailed metrics are enabled.
public RouteSettings withDetailedMetricsEnabled(Boolean detailedMetricsEnabled)
Specifies whether detailed metrics are enabled.
detailedMetricsEnabled
- Specifies whether detailed metrics are enabled.public Boolean isDetailedMetricsEnabled()
Specifies whether detailed metrics are enabled.
public void setLoggingLevel(String 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.
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.LoggingLevel
public String getLoggingLevel()
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.
LoggingLevel
public RouteSettings withLoggingLevel(String 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.
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.LoggingLevel
public RouteSettings withLoggingLevel(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.
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.LoggingLevel
public void setThrottlingBurstLimit(Integer throttlingBurstLimit)
Specifies the throttling burst limit.
throttlingBurstLimit
- Specifies the throttling burst limit.public Integer getThrottlingBurstLimit()
Specifies the throttling burst limit.
public RouteSettings withThrottlingBurstLimit(Integer throttlingBurstLimit)
Specifies the throttling burst limit.
throttlingBurstLimit
- Specifies the throttling burst limit.public void setThrottlingRateLimit(Double throttlingRateLimit)
Specifies the throttling rate limit.
throttlingRateLimit
- Specifies the throttling rate limit.public Double getThrottlingRateLimit()
Specifies the throttling rate limit.
public RouteSettings withThrottlingRateLimit(Double throttlingRateLimit)
Specifies the throttling rate limit.
throttlingRateLimit
- Specifies the throttling rate limit.public String toString()
toString
in class Object
Object.toString()
public RouteSettings clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.