com.pulumi.azure.keyvault.outputs.ManagedHardwareSecurityModuleNetworkAcls Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure Show documentation
Show all versions of azure Show documentation
A Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider. We recommend using the [Azure Native provider](https://github.com/pulumi/pulumi-azure-native) to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates.
// *** 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.azure.keyvault.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class ManagedHardwareSecurityModuleNetworkAcls {
/**
* @return Specifies which traffic can bypass the network rules. Possible values are `AzureServices` and `None`.
*
*/
private String bypass;
/**
* @return The Default Action to use. Possible values are `Allow` and `Deny`.
*
*/
private String defaultAction;
private ManagedHardwareSecurityModuleNetworkAcls() {}
/**
* @return Specifies which traffic can bypass the network rules. Possible values are `AzureServices` and `None`.
*
*/
public String bypass() {
return this.bypass;
}
/**
* @return The Default Action to use. Possible values are `Allow` and `Deny`.
*
*/
public String defaultAction() {
return this.defaultAction;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ManagedHardwareSecurityModuleNetworkAcls defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String bypass;
private String defaultAction;
public Builder() {}
public Builder(ManagedHardwareSecurityModuleNetworkAcls defaults) {
Objects.requireNonNull(defaults);
this.bypass = defaults.bypass;
this.defaultAction = defaults.defaultAction;
}
@CustomType.Setter
public Builder bypass(String bypass) {
if (bypass == null) {
throw new MissingRequiredPropertyException("ManagedHardwareSecurityModuleNetworkAcls", "bypass");
}
this.bypass = bypass;
return this;
}
@CustomType.Setter
public Builder defaultAction(String defaultAction) {
if (defaultAction == null) {
throw new MissingRequiredPropertyException("ManagedHardwareSecurityModuleNetworkAcls", "defaultAction");
}
this.defaultAction = defaultAction;
return this;
}
public ManagedHardwareSecurityModuleNetworkAcls build() {
final var _resultValue = new ManagedHardwareSecurityModuleNetworkAcls();
_resultValue.bypass = bypass;
_resultValue.defaultAction = defaultAction;
return _resultValue;
}
}
}