
com.pulumi.azurenative.databoxedge.outputs.ShareAccessRightResponse 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 ShareAccessRightResponse {
/**
* @return Type of access to be allowed on the share for this user.
*
*/
private String accessType;
/**
* @return The share ID.
*
*/
private String shareId;
private ShareAccessRightResponse() {}
/**
* @return Type of access to be allowed on the share for this user.
*
*/
public String accessType() {
return this.accessType;
}
/**
* @return The share ID.
*
*/
public String shareId() {
return this.shareId;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ShareAccessRightResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String accessType;
private String shareId;
public Builder() {}
public Builder(ShareAccessRightResponse defaults) {
Objects.requireNonNull(defaults);
this.accessType = defaults.accessType;
this.shareId = defaults.shareId;
}
@CustomType.Setter
public Builder accessType(String accessType) {
if (accessType == null) {
throw new MissingRequiredPropertyException("ShareAccessRightResponse", "accessType");
}
this.accessType = accessType;
return this;
}
@CustomType.Setter
public Builder shareId(String shareId) {
if (shareId == null) {
throw new MissingRequiredPropertyException("ShareAccessRightResponse", "shareId");
}
this.shareId = shareId;
return this;
}
public ShareAccessRightResponse build() {
final var _resultValue = new ShareAccessRightResponse();
_resultValue.accessType = accessType;
_resultValue.shareId = shareId;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy