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 RetryParams.Builder requestTimeoutMillis(long requestTimeoutMillis)
        Parameters:
        requestTimeoutMillis - the requestTimeoutMillis to set
        Returns:
        the Builder for chaining
      • build

        public RetryParams build()
        Create an instance of RetryParams with the parameters set in this builder
        Returns:
        a new instance of RetryParams

Copyright © 2016 Google. All rights reserved.

Monitor your resources on the go

Get the Google Cloud Console app to help you manage your projects.

Send feedback about...

App Engine standard environment for Java