com.pulumi.azurenative.servicebus.outputs.NWRuleSetIpRulesResponse 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.servicebus.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class NWRuleSetIpRulesResponse {
/**
* @return The IP Filter Action
*
*/
private @Nullable String action;
/**
* @return IP Mask
*
*/
private @Nullable String ipMask;
private NWRuleSetIpRulesResponse() {}
/**
* @return The IP Filter Action
*
*/
public Optional action() {
return Optional.ofNullable(this.action);
}
/**
* @return IP Mask
*
*/
public Optional ipMask() {
return Optional.ofNullable(this.ipMask);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(NWRuleSetIpRulesResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String action;
private @Nullable String ipMask;
public Builder() {}
public Builder(NWRuleSetIpRulesResponse defaults) {
Objects.requireNonNull(defaults);
this.action = defaults.action;
this.ipMask = defaults.ipMask;
}
@CustomType.Setter
public Builder action(@Nullable String action) {
this.action = action;
return this;
}
@CustomType.Setter
public Builder ipMask(@Nullable String ipMask) {
this.ipMask = ipMask;
return this;
}
public NWRuleSetIpRulesResponse build() {
final var _resultValue = new NWRuleSetIpRulesResponse();
_resultValue.action = action;
_resultValue.ipMask = ipMask;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy