All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azurenative.servicefabric.outputs.GetmanagedAzResiliencyStatusResult Maven / Gradle / Ivy

There is a newer version: 2.72.0
Show newest version
// *** 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.servicefabric.outputs;

import com.pulumi.azurenative.servicefabric.outputs.ResourceAzStatusResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.util.List;
import java.util.Objects;
import javax.annotation.Nullable;

@CustomType
public final class GetmanagedAzResiliencyStatusResult {
    /**
     * @return List of Managed VM Sizes for Service Fabric Managed Clusters.
     * 
     */
    private @Nullable List baseResourceStatus;
    /**
     * @return URL to get the next set of Managed VM Sizes if there are any.
     * 
     */
    private Boolean isClusterZoneResilient;

    private GetmanagedAzResiliencyStatusResult() {}
    /**
     * @return List of Managed VM Sizes for Service Fabric Managed Clusters.
     * 
     */
    public List baseResourceStatus() {
        return this.baseResourceStatus == null ? List.of() : this.baseResourceStatus;
    }
    /**
     * @return URL to get the next set of Managed VM Sizes if there are any.
     * 
     */
    public Boolean isClusterZoneResilient() {
        return this.isClusterZoneResilient;
    }

    public static Builder builder() {
        return new Builder();
    }

    public static Builder builder(GetmanagedAzResiliencyStatusResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable List baseResourceStatus;
        private Boolean isClusterZoneResilient;
        public Builder() {}
        public Builder(GetmanagedAzResiliencyStatusResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.baseResourceStatus = defaults.baseResourceStatus;
    	      this.isClusterZoneResilient = defaults.isClusterZoneResilient;
        }

        @CustomType.Setter
        public Builder baseResourceStatus(@Nullable List baseResourceStatus) {

            this.baseResourceStatus = baseResourceStatus;
            return this;
        }
        public Builder baseResourceStatus(ResourceAzStatusResponse... baseResourceStatus) {
            return baseResourceStatus(List.of(baseResourceStatus));
        }
        @CustomType.Setter
        public Builder isClusterZoneResilient(Boolean isClusterZoneResilient) {
            if (isClusterZoneResilient == null) {
              throw new MissingRequiredPropertyException("GetmanagedAzResiliencyStatusResult", "isClusterZoneResilient");
            }
            this.isClusterZoneResilient = isClusterZoneResilient;
            return this;
        }
        public GetmanagedAzResiliencyStatusResult build() {
            final var _resultValue = new GetmanagedAzResiliencyStatusResult();
            _resultValue.baseResourceStatus = baseResourceStatus;
            _resultValue.isClusterZoneResilient = isClusterZoneResilient;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy