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