
com.pulumi.azurenative.machinelearningservices.outputs.BatchRetrySettingsResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure resources.
// *** 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.machinelearningservices.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class BatchRetrySettingsResponse {
/**
* @return Maximum retry count for a mini-batch
*
*/
private @Nullable Integer maxRetries;
/**
* @return Invocation timeout for a mini-batch, in ISO 8601 format.
*
*/
private @Nullable String timeout;
private BatchRetrySettingsResponse() {}
/**
* @return Maximum retry count for a mini-batch
*
*/
public Optional maxRetries() {
return Optional.ofNullable(this.maxRetries);
}
/**
* @return Invocation timeout for a mini-batch, in ISO 8601 format.
*
*/
public Optional timeout() {
return Optional.ofNullable(this.timeout);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(BatchRetrySettingsResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable Integer maxRetries;
private @Nullable String timeout;
public Builder() {}
public Builder(BatchRetrySettingsResponse defaults) {
Objects.requireNonNull(defaults);
this.maxRetries = defaults.maxRetries;
this.timeout = defaults.timeout;
}
@CustomType.Setter
public Builder maxRetries(@Nullable Integer maxRetries) {
this.maxRetries = maxRetries;
return this;
}
@CustomType.Setter
public Builder timeout(@Nullable String timeout) {
this.timeout = timeout;
return this;
}
public BatchRetrySettingsResponse build() {
final var _resultValue = new BatchRetrySettingsResponse();
_resultValue.maxRetries = maxRetries;
_resultValue.timeout = timeout;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy