public final class HttpFaultAbort extends GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Compute Engine API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description | 
|---|
| HttpFaultAbort() | 
| Modifier and Type | Method and Description | 
|---|---|
| HttpFaultAbort | clone() | 
| Long | getHttpStatus()The HTTP status code used to abort the request. | 
| Double | getPercentage()The percentage of traffic for connections, operations, or requests that is aborted as part of
 fault injection. | 
| HttpFaultAbort | set(String fieldName,
   Object value) | 
| HttpFaultAbort | setHttpStatus(Long httpStatus)The HTTP status code used to abort the request. | 
| HttpFaultAbort | setPercentage(Double percentage)The percentage of traffic for connections, operations, or requests that is aborted as part of
 fault injection. | 
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic Long getHttpStatus()
null for nonepublic HttpFaultAbort setHttpStatus(Long httpStatus)
httpStatus - httpStatus or null for nonepublic Double getPercentage()
null for nonepublic HttpFaultAbort setPercentage(Double percentage)
percentage - percentage or null for nonepublic HttpFaultAbort set(String fieldName, Object value)
set in class GenericJsonpublic HttpFaultAbort clone()
clone in class GenericJsonCopyright © 2011–2022 Google. All rights reserved.