
com.pulumi.azurenative.aad.outputs.ConfigDiagnosticsValidatorResultResponse 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.aad.outputs;
import com.pulumi.azurenative.aad.outputs.ConfigDiagnosticsValidatorResultIssueResponse;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class ConfigDiagnosticsValidatorResultResponse {
/**
* @return List of resource config validation issues.
*
*/
private @Nullable List issues;
/**
* @return Replica set location and subnet name
*
*/
private @Nullable String replicaSetSubnetDisplayName;
/**
* @return Status for individual validator after running diagnostics.
*
*/
private @Nullable String status;
/**
* @return Validator identifier
*
*/
private @Nullable String validatorId;
private ConfigDiagnosticsValidatorResultResponse() {}
/**
* @return List of resource config validation issues.
*
*/
public List issues() {
return this.issues == null ? List.of() : this.issues;
}
/**
* @return Replica set location and subnet name
*
*/
public Optional replicaSetSubnetDisplayName() {
return Optional.ofNullable(this.replicaSetSubnetDisplayName);
}
/**
* @return Status for individual validator after running diagnostics.
*
*/
public Optional status() {
return Optional.ofNullable(this.status);
}
/**
* @return Validator identifier
*
*/
public Optional validatorId() {
return Optional.ofNullable(this.validatorId);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ConfigDiagnosticsValidatorResultResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable List issues;
private @Nullable String replicaSetSubnetDisplayName;
private @Nullable String status;
private @Nullable String validatorId;
public Builder() {}
public Builder(ConfigDiagnosticsValidatorResultResponse defaults) {
Objects.requireNonNull(defaults);
this.issues = defaults.issues;
this.replicaSetSubnetDisplayName = defaults.replicaSetSubnetDisplayName;
this.status = defaults.status;
this.validatorId = defaults.validatorId;
}
@CustomType.Setter
public Builder issues(@Nullable List issues) {
this.issues = issues;
return this;
}
public Builder issues(ConfigDiagnosticsValidatorResultIssueResponse... issues) {
return issues(List.of(issues));
}
@CustomType.Setter
public Builder replicaSetSubnetDisplayName(@Nullable String replicaSetSubnetDisplayName) {
this.replicaSetSubnetDisplayName = replicaSetSubnetDisplayName;
return this;
}
@CustomType.Setter
public Builder status(@Nullable String status) {
this.status = status;
return this;
}
@CustomType.Setter
public Builder validatorId(@Nullable String validatorId) {
this.validatorId = validatorId;
return this;
}
public ConfigDiagnosticsValidatorResultResponse build() {
final var _resultValue = new ConfigDiagnosticsValidatorResultResponse();
_resultValue.issues = issues;
_resultValue.replicaSetSubnetDisplayName = replicaSetSubnetDisplayName;
_resultValue.status = status;
_resultValue.validatorId = validatorId;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy