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

com.pulumi.azurenative.policyinsights.outputs.ListRemediationDeploymentsAtResourceResult 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.policyinsights.outputs;

import com.pulumi.azurenative.policyinsights.outputs.RemediationDeploymentResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;

@CustomType
public final class ListRemediationDeploymentsAtResourceResult {
    /**
     * @return The URL to get the next set of results.
     * 
     */
    private String nextLink;
    /**
     * @return Array of deployments for the remediation.
     * 
     */
    private List value;

    private ListRemediationDeploymentsAtResourceResult() {}
    /**
     * @return The URL to get the next set of results.
     * 
     */
    public String nextLink() {
        return this.nextLink;
    }
    /**
     * @return Array of deployments for the remediation.
     * 
     */
    public List value() {
        return this.value;
    }

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

    public static Builder builder(ListRemediationDeploymentsAtResourceResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String nextLink;
        private List value;
        public Builder() {}
        public Builder(ListRemediationDeploymentsAtResourceResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.nextLink = defaults.nextLink;
    	      this.value = defaults.value;
        }

        @CustomType.Setter
        public Builder nextLink(String nextLink) {
            if (nextLink == null) {
              throw new MissingRequiredPropertyException("ListRemediationDeploymentsAtResourceResult", "nextLink");
            }
            this.nextLink = nextLink;
            return this;
        }
        @CustomType.Setter
        public Builder value(List value) {
            if (value == null) {
              throw new MissingRequiredPropertyException("ListRemediationDeploymentsAtResourceResult", "value");
            }
            this.value = value;
            return this;
        }
        public Builder value(RemediationDeploymentResponse... value) {
            return value(List.of(value));
        }
        public ListRemediationDeploymentsAtResourceResult build() {
            final var _resultValue = new ListRemediationDeploymentsAtResourceResult();
            _resultValue.nextLink = nextLink;
            _resultValue.value = value;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy