
com.pulumi.azurenative.storagesync.outputs.ServerEndpointRecallStatusResponse 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.storagesync.outputs;
import com.pulumi.azurenative.storagesync.outputs.ServerEndpointRecallErrorResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Double;
import java.lang.String;
import java.util.List;
import java.util.Objects;
@CustomType
public final class ServerEndpointRecallStatusResponse {
/**
* @return Last updated timestamp
*
*/
private String lastUpdatedTimestamp;
/**
* @return Array of recall errors
*
*/
private List recallErrors;
/**
* @return Total count of recall errors.
*
*/
private Double totalRecallErrorsCount;
private ServerEndpointRecallStatusResponse() {}
/**
* @return Last updated timestamp
*
*/
public String lastUpdatedTimestamp() {
return this.lastUpdatedTimestamp;
}
/**
* @return Array of recall errors
*
*/
public List recallErrors() {
return this.recallErrors;
}
/**
* @return Total count of recall errors.
*
*/
public Double totalRecallErrorsCount() {
return this.totalRecallErrorsCount;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ServerEndpointRecallStatusResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String lastUpdatedTimestamp;
private List recallErrors;
private Double totalRecallErrorsCount;
public Builder() {}
public Builder(ServerEndpointRecallStatusResponse defaults) {
Objects.requireNonNull(defaults);
this.lastUpdatedTimestamp = defaults.lastUpdatedTimestamp;
this.recallErrors = defaults.recallErrors;
this.totalRecallErrorsCount = defaults.totalRecallErrorsCount;
}
@CustomType.Setter
public Builder lastUpdatedTimestamp(String lastUpdatedTimestamp) {
if (lastUpdatedTimestamp == null) {
throw new MissingRequiredPropertyException("ServerEndpointRecallStatusResponse", "lastUpdatedTimestamp");
}
this.lastUpdatedTimestamp = lastUpdatedTimestamp;
return this;
}
@CustomType.Setter
public Builder recallErrors(List recallErrors) {
if (recallErrors == null) {
throw new MissingRequiredPropertyException("ServerEndpointRecallStatusResponse", "recallErrors");
}
this.recallErrors = recallErrors;
return this;
}
public Builder recallErrors(ServerEndpointRecallErrorResponse... recallErrors) {
return recallErrors(List.of(recallErrors));
}
@CustomType.Setter
public Builder totalRecallErrorsCount(Double totalRecallErrorsCount) {
if (totalRecallErrorsCount == null) {
throw new MissingRequiredPropertyException("ServerEndpointRecallStatusResponse", "totalRecallErrorsCount");
}
this.totalRecallErrorsCount = totalRecallErrorsCount;
return this;
}
public ServerEndpointRecallStatusResponse build() {
final var _resultValue = new ServerEndpointRecallStatusResponse();
_resultValue.lastUpdatedTimestamp = lastUpdatedTimestamp;
_resultValue.recallErrors = recallErrors;
_resultValue.totalRecallErrorsCount = totalRecallErrorsCount;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy