
com.pulumi.azurenative.devcenter.outputs.UserRoleAssignmentResponse 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.devcenter.outputs;
import com.pulumi.azurenative.devcenter.outputs.EnvironmentRoleResponse;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Map;
import java.util.Objects;
import javax.annotation.Nullable;
@CustomType
public final class UserRoleAssignmentResponse {
/**
* @return A map of roles to assign to the parent user.
*
*/
private @Nullable Map roles;
private UserRoleAssignmentResponse() {}
/**
* @return A map of roles to assign to the parent user.
*
*/
public Map roles() {
return this.roles == null ? Map.of() : this.roles;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(UserRoleAssignmentResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable Map roles;
public Builder() {}
public Builder(UserRoleAssignmentResponse defaults) {
Objects.requireNonNull(defaults);
this.roles = defaults.roles;
}
@CustomType.Setter
public Builder roles(@Nullable Map roles) {
this.roles = roles;
return this;
}
public UserRoleAssignmentResponse build() {
final var _resultValue = new UserRoleAssignmentResponse();
_resultValue.roles = roles;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy