com.pulumi.azurenative.storage.outputs.PermissionScopeResponse 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.storage.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class PermissionScopeResponse {
/**
* @return The permissions for the local user. Possible values include: Read (r), Write (w), Delete (d), List (l), and Create (c).
*
*/
private String permissions;
/**
* @return The name of resource, normally the container name or the file share name, used by the local user.
*
*/
private String resourceName;
/**
* @return The service used by the local user, e.g. blob, file.
*
*/
private String service;
private PermissionScopeResponse() {}
/**
* @return The permissions for the local user. Possible values include: Read (r), Write (w), Delete (d), List (l), and Create (c).
*
*/
public String permissions() {
return this.permissions;
}
/**
* @return The name of resource, normally the container name or the file share name, used by the local user.
*
*/
public String resourceName() {
return this.resourceName;
}
/**
* @return The service used by the local user, e.g. blob, file.
*
*/
public String service() {
return this.service;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(PermissionScopeResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String permissions;
private String resourceName;
private String service;
public Builder() {}
public Builder(PermissionScopeResponse defaults) {
Objects.requireNonNull(defaults);
this.permissions = defaults.permissions;
this.resourceName = defaults.resourceName;
this.service = defaults.service;
}
@CustomType.Setter
public Builder permissions(String permissions) {
if (permissions == null) {
throw new MissingRequiredPropertyException("PermissionScopeResponse", "permissions");
}
this.permissions = permissions;
return this;
}
@CustomType.Setter
public Builder resourceName(String resourceName) {
if (resourceName == null) {
throw new MissingRequiredPropertyException("PermissionScopeResponse", "resourceName");
}
this.resourceName = resourceName;
return this;
}
@CustomType.Setter
public Builder service(String service) {
if (service == null) {
throw new MissingRequiredPropertyException("PermissionScopeResponse", "service");
}
this.service = service;
return this;
}
public PermissionScopeResponse build() {
final var _resultValue = new PermissionScopeResponse();
_resultValue.permissions = permissions;
_resultValue.resourceName = resourceName;
_resultValue.service = service;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy