
com.pulumi.azurenative.databoxedge.outputs.UserAccessRightResponse 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.databoxedge.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class UserAccessRightResponse {
/**
* @return Type of access to be allowed for the user.
*
*/
private String accessType;
/**
* @return User ID (already existing in the device).
*
*/
private String userId;
private UserAccessRightResponse() {}
/**
* @return Type of access to be allowed for the user.
*
*/
public String accessType() {
return this.accessType;
}
/**
* @return User ID (already existing in the device).
*
*/
public String userId() {
return this.userId;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(UserAccessRightResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String accessType;
private String userId;
public Builder() {}
public Builder(UserAccessRightResponse defaults) {
Objects.requireNonNull(defaults);
this.accessType = defaults.accessType;
this.userId = defaults.userId;
}
@CustomType.Setter
public Builder accessType(String accessType) {
if (accessType == null) {
throw new MissingRequiredPropertyException("UserAccessRightResponse", "accessType");
}
this.accessType = accessType;
return this;
}
@CustomType.Setter
public Builder userId(String userId) {
if (userId == null) {
throw new MissingRequiredPropertyException("UserAccessRightResponse", "userId");
}
this.userId = userId;
return this;
}
public UserAccessRightResponse build() {
final var _resultValue = new UserAccessRightResponse();
_resultValue.accessType = accessType;
_resultValue.userId = userId;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy