
com.pulumi.azurenative.app.outputs.DaprComponentResiliencyPolicyHttpRetryBackOffConfigurationResponse Maven / Gradle / Ivy
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.azurenative.app.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.Integer;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class DaprComponentResiliencyPolicyHttpRetryBackOffConfigurationResponse {
/**
* @return The optional initial delay in milliseconds before an operation is retried
*
*/
private @Nullable Integer initialDelayInMilliseconds;
/**
* @return The optional maximum time interval in milliseconds between retry attempts
*
*/
private @Nullable Integer maxIntervalInMilliseconds;
private DaprComponentResiliencyPolicyHttpRetryBackOffConfigurationResponse() {}
/**
* @return The optional initial delay in milliseconds before an operation is retried
*
*/
public Optional initialDelayInMilliseconds() {
return Optional.ofNullable(this.initialDelayInMilliseconds);
}
/**
* @return The optional maximum time interval in milliseconds between retry attempts
*
*/
public Optional maxIntervalInMilliseconds() {
return Optional.ofNullable(this.maxIntervalInMilliseconds);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(DaprComponentResiliencyPolicyHttpRetryBackOffConfigurationResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable Integer initialDelayInMilliseconds;
private @Nullable Integer maxIntervalInMilliseconds;
public Builder() {}
public Builder(DaprComponentResiliencyPolicyHttpRetryBackOffConfigurationResponse defaults) {
Objects.requireNonNull(defaults);
this.initialDelayInMilliseconds = defaults.initialDelayInMilliseconds;
this.maxIntervalInMilliseconds = defaults.maxIntervalInMilliseconds;
}
@CustomType.Setter
public Builder initialDelayInMilliseconds(@Nullable Integer initialDelayInMilliseconds) {
this.initialDelayInMilliseconds = initialDelayInMilliseconds;
return this;
}
@CustomType.Setter
public Builder maxIntervalInMilliseconds(@Nullable Integer maxIntervalInMilliseconds) {
this.maxIntervalInMilliseconds = maxIntervalInMilliseconds;
return this;
}
public DaprComponentResiliencyPolicyHttpRetryBackOffConfigurationResponse build() {
final var _resultValue = new DaprComponentResiliencyPolicyHttpRetryBackOffConfigurationResponse();
_resultValue.initialDelayInMilliseconds = initialDelayInMilliseconds;
_resultValue.maxIntervalInMilliseconds = maxIntervalInMilliseconds;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy