All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.compute.model.HttpFaultDelay.html Maven / Gradle / Ivy

The newest version!






HttpFaultDelay (Compute Engine API v1-rev20250320-2.0.0)












com.google.api.services.compute.model

Class HttpFaultDelay

  • All Implemented Interfaces:
    Cloneable, Map<String,Object>


    public final class HttpFaultDelay
    extends com.google.api.client.json.GenericJson
    Specifies the delay introduced by the load balancer before forwarding the request to the backend service as part of fault injection.

    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

    Author:
    Google, Inc.
    • Constructor Detail

      • HttpFaultDelay

        public HttpFaultDelay()
    • Method Detail

      • getFixedDelay

        public Duration getFixedDelay()
        Specifies the value of the fixed delay interval.
        Returns:
        value or null for none
      • setFixedDelay

        public HttpFaultDelay setFixedDelay(Duration fixedDelay)
        Specifies the value of the fixed delay interval.
        Parameters:
        fixedDelay - fixedDelay or null for none
      • getPercentage

        public Double getPercentage()
        The percentage of traffic for connections, operations, or requests for which a delay is introduced as part of fault injection. The value must be from 0.0 to 100.0 inclusive.
        Returns:
        value or null for none
      • setPercentage

        public HttpFaultDelay setPercentage(Double percentage)
        The percentage of traffic for connections, operations, or requests for which a delay is introduced as part of fault injection. The value must be from 0.0 to 100.0 inclusive.
        Parameters:
        percentage - percentage or null for none
      • set

        public HttpFaultDelay set(String fieldName,
                                  Object value)
        Overrides:
        set in class com.google.api.client.json.GenericJson
      • clone

        public HttpFaultDelay clone()
        Overrides:
        clone in class com.google.api.client.json.GenericJson

Copyright © 2011–2025 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy