
com.pulumi.azurenative.managedidentity.outputs.ListUserAssignedIdentityAssociatedResourcesResult 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.managedidentity.outputs;
import com.pulumi.azurenative.managedidentity.outputs.AzureResourceResponse;
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 ListUserAssignedIdentityAssociatedResourcesResult {
/**
* @return The url to get the next page of results, if any.
*
*/
private String nextLink;
/**
* @return Total number of Azure resources assigned to the identity.
*
*/
private Double totalCount;
/**
* @return The collection of Azure resources returned by the resource action to get a list of assigned resources.
*
*/
private List value;
private ListUserAssignedIdentityAssociatedResourcesResult() {}
/**
* @return The url to get the next page of results, if any.
*
*/
public String nextLink() {
return this.nextLink;
}
/**
* @return Total number of Azure resources assigned to the identity.
*
*/
public Double totalCount() {
return this.totalCount;
}
/**
* @return The collection of Azure resources returned by the resource action to get a list of assigned resources.
*
*/
public List value() {
return this.value;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ListUserAssignedIdentityAssociatedResourcesResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String nextLink;
private Double totalCount;
private List value;
public Builder() {}
public Builder(ListUserAssignedIdentityAssociatedResourcesResult defaults) {
Objects.requireNonNull(defaults);
this.nextLink = defaults.nextLink;
this.totalCount = defaults.totalCount;
this.value = defaults.value;
}
@CustomType.Setter
public Builder nextLink(String nextLink) {
if (nextLink == null) {
throw new MissingRequiredPropertyException("ListUserAssignedIdentityAssociatedResourcesResult", "nextLink");
}
this.nextLink = nextLink;
return this;
}
@CustomType.Setter
public Builder totalCount(Double totalCount) {
if (totalCount == null) {
throw new MissingRequiredPropertyException("ListUserAssignedIdentityAssociatedResourcesResult", "totalCount");
}
this.totalCount = totalCount;
return this;
}
@CustomType.Setter
public Builder value(List value) {
if (value == null) {
throw new MissingRequiredPropertyException("ListUserAssignedIdentityAssociatedResourcesResult", "value");
}
this.value = value;
return this;
}
public Builder value(AzureResourceResponse... value) {
return value(List.of(value));
}
public ListUserAssignedIdentityAssociatedResourcesResult build() {
final var _resultValue = new ListUserAssignedIdentityAssociatedResourcesResult();
_resultValue.nextLink = nextLink;
_resultValue.totalCount = totalCount;
_resultValue.value = value;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy