RetryParams.Builder (App Engine Client for Google Cloud Storage 0.6 API)

com.google.appengine.tools.cloudstorage

Class RetryParams.Builder

  • Enclosing class:
    RetryParams


    public static final class RetryParams.Builder
    extends Object
    RetryParams builder.
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • retryMinAttempts

        public RetryParams.Builder retryMinAttempts(int retryMinAttempts)
        Parameters:
        retryMinAttempts - the retryMinAttempts to set
        Returns:
        the Builder for chaining
      • retryMaxAttempts

        public RetryParams.Builder retryMaxAttempts(int retryMaxAttempts)
        Parameters:
        retryMaxAttempts - the retryMaxAttempts to set
        Returns:
        the Builder for chaining
      • initialRetryDelayMillis

        public RetryParams.Builder initialRetryDelayMillis(long initialRetryDelayMillis)
        Parameters:
        initialRetryDelayMillis - the initialRetryDelayMillis to set
        Returns:
        the Builder for chaining
      • maxRetryDelayMillis

        public RetryParams.Builder maxRetryDelayMillis(long maxRetryDelayMillis)
        Parameters:
        maxRetryDelayMillis - the maxRetryDelayMillis to set
        Returns:
        the Builder for chaining
      • retryDelayBackoffFactor

        public RetryParams.Builder retryDelayBackoffFactor(double retryDelayBackoffFactor)
        Parameters:
        retryDelayBackoffFactor - the retryDelayBackoffFactor to set
        Returns:
        the Builder for chaining
      • totalRetryPeriodMillis

        public RetryParams.Builder totalRetryPeriodMillis(long totalRetryPeriodMillis)
        Parameters:
        totalRetryPeriodMillis - the totalRetryPeriodMillis to set
        Returns:
        the Builder for chaining
      • requestTimeoutMillis

        public