com.pulumi.azure.network.outputs.VpnSiteO365Policy 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.network.outputs;
import com.pulumi.azure.network.outputs.VpnSiteO365PolicyTrafficCategory;
import com.pulumi.core.annotations.CustomType;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class VpnSiteO365Policy {
/**
* @return A `traffic_category` block as defined above.
*
*/
private @Nullable VpnSiteO365PolicyTrafficCategory trafficCategory;
private VpnSiteO365Policy() {}
/**
* @return A `traffic_category` block as defined above.
*
*/
public Optional trafficCategory() {
return Optional.ofNullable(this.trafficCategory);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(VpnSiteO365Policy defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable VpnSiteO365PolicyTrafficCategory trafficCategory;
public Builder() {}
public Builder(VpnSiteO365Policy defaults) {
Objects.requireNonNull(defaults);
this.trafficCategory = defaults.trafficCategory;
}
@CustomType.Setter
public Builder trafficCategory(@Nullable VpnSiteO365PolicyTrafficCategory trafficCategory) {
this.trafficCategory = trafficCategory;
return this;
}
public VpnSiteO365Policy build() {
final var _resultValue = new VpnSiteO365Policy();
_resultValue.trafficCategory = trafficCategory;
return _resultValue;
}
}
}