com.pulumi.azure.logicapps.outputs.GetStandardSiteConfigIpRestriction 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.logicapps.outputs;
import com.pulumi.azure.logicapps.outputs.GetStandardSiteConfigIpRestrictionHeaders;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class GetStandardSiteConfigIpRestriction {
private @Nullable String action;
private GetStandardSiteConfigIpRestrictionHeaders headers;
private @Nullable String ipAddress;
/**
* @return The name of this Logic App.
*
*/
private String name;
private @Nullable Integer priority;
private @Nullable String serviceTag;
private @Nullable String virtualNetworkSubnetId;
private GetStandardSiteConfigIpRestriction() {}
public Optional action() {
return Optional.ofNullable(this.action);
}
public GetStandardSiteConfigIpRestrictionHeaders headers() {
return this.headers;
}
public Optional ipAddress() {
return Optional.ofNullable(this.ipAddress);
}
/**
* @return The name of this Logic App.
*
*/
public String name() {
return this.name;
}
public Optional priority() {
return Optional.ofNullable(this.priority);
}
public Optional serviceTag() {
return Optional.ofNullable(this.serviceTag);
}
public Optional virtualNetworkSubnetId() {
return Optional.ofNullable(this.virtualNetworkSubnetId);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetStandardSiteConfigIpRestriction defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String action;
private GetStandardSiteConfigIpRestrictionHeaders headers;
private @Nullable String ipAddress;
private String name;
private @Nullable Integer priority;
private @Nullable String serviceTag;
private @Nullable String virtualNetworkSubnetId;
public Builder() {}
public Builder(GetStandardSiteConfigIpRestriction defaults) {
Objects.requireNonNull(defaults);
this.action = defaults.action;
this.headers = defaults.headers;
this.ipAddress = defaults.ipAddress;
this.name = defaults.name;
this.priority = defaults.priority;
this.serviceTag = defaults.serviceTag;
this.virtualNetworkSubnetId = defaults.virtualNetworkSubnetId;
}
@CustomType.Setter
public Builder action(@Nullable String action) {
this.action = action;
return this;
}
@CustomType.Setter
public Builder headers(GetStandardSiteConfigIpRestrictionHeaders headers) {
if (headers == null) {
throw new MissingRequiredPropertyException("GetStandardSiteConfigIpRestriction", "headers");
}
this.headers = headers;
return this;
}
@CustomType.Setter
public Builder ipAddress(@Nullable String ipAddress) {
this.ipAddress = ipAddress;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("GetStandardSiteConfigIpRestriction", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder priority(@Nullable Integer priority) {
this.priority = priority;
return this;
}
@CustomType.Setter
public Builder serviceTag(@Nullable String serviceTag) {
this.serviceTag = serviceTag;
return this;
}
@CustomType.Setter
public Builder virtualNetworkSubnetId(@Nullable String virtualNetworkSubnetId) {
this.virtualNetworkSubnetId = virtualNetworkSubnetId;
return this;
}
public GetStandardSiteConfigIpRestriction build() {
final var _resultValue = new GetStandardSiteConfigIpRestriction();
_resultValue.action = action;
_resultValue.headers = headers;
_resultValue.ipAddress = ipAddress;
_resultValue.name = name;
_resultValue.priority = priority;
_resultValue.serviceTag = serviceTag;
_resultValue.virtualNetworkSubnetId = virtualNetworkSubnetId;
return _resultValue;
}
}
}