com.pulumi.azurenative.authorization.outputs.ListPolicySetDefinitionVersionAllAtManagementGroupResult 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.authorization.outputs;
import com.pulumi.azurenative.authorization.outputs.PolicySetDefinitionVersionResponse;
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 ListPolicySetDefinitionVersionAllAtManagementGroupResult {
/**
* @return The URL to use for getting the next set of results.
*
*/
private @Nullable String nextLink;
/**
* @return An array of policy set definition versions.
*
*/
private @Nullable List value;
private ListPolicySetDefinitionVersionAllAtManagementGroupResult() {}
/**
* @return The URL to use for getting the next set of results.
*
*/
public Optional nextLink() {
return Optional.ofNullable(this.nextLink);
}
/**
* @return An array of policy set definition versions.
*
*/
public List value() {
return this.value == null ? List.of() : this.value;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ListPolicySetDefinitionVersionAllAtManagementGroupResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String nextLink;
private @Nullable List value;
public Builder() {}
public Builder(ListPolicySetDefinitionVersionAllAtManagementGroupResult defaults) {
Objects.requireNonNull(defaults);
this.nextLink = defaults.nextLink;
this.value = defaults.value;
}
@CustomType.Setter
public Builder nextLink(@Nullable String nextLink) {
this.nextLink = nextLink;
return this;
}
@CustomType.Setter
public Builder value(@Nullable List value) {
this.value = value;
return this;
}
public Builder value(PolicySetDefinitionVersionResponse... value) {
return value(List.of(value));
}
public ListPolicySetDefinitionVersionAllAtManagementGroupResult build() {
final var _resultValue = new ListPolicySetDefinitionVersionAllAtManagementGroupResult();
_resultValue.nextLink = nextLink;
_resultValue.value = value;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy