com.pulumi.azurenative.logic.outputs.FlowAccessControlConfigurationPolicyResponse 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.logic.outputs;
import com.pulumi.azurenative.logic.outputs.IpAddressRangeResponse;
import com.pulumi.azurenative.logic.outputs.OpenAuthenticationAccessPoliciesResponse;
import com.pulumi.core.annotations.CustomType;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class FlowAccessControlConfigurationPolicyResponse {
/**
* @return The allowed caller IP address ranges.
*
*/
private @Nullable List allowedCallerIpAddresses;
/**
* @return The authentication policies for workflow.
*
*/
private @Nullable OpenAuthenticationAccessPoliciesResponse openAuthenticationPolicies;
private FlowAccessControlConfigurationPolicyResponse() {}
/**
* @return The allowed caller IP address ranges.
*
*/
public List allowedCallerIpAddresses() {
return this.allowedCallerIpAddresses == null ? List.of() : this.allowedCallerIpAddresses;
}
/**
* @return The authentication policies for workflow.
*
*/
public Optional openAuthenticationPolicies() {
return Optional.ofNullable(this.openAuthenticationPolicies);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(FlowAccessControlConfigurationPolicyResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable List allowedCallerIpAddresses;
private @Nullable OpenAuthenticationAccessPoliciesResponse openAuthenticationPolicies;
public Builder() {}
public Builder(FlowAccessControlConfigurationPolicyResponse defaults) {
Objects.requireNonNull(defaults);
this.allowedCallerIpAddresses = defaults.allowedCallerIpAddresses;
this.openAuthenticationPolicies = defaults.openAuthenticationPolicies;
}
@CustomType.Setter
public Builder allowedCallerIpAddresses(@Nullable List allowedCallerIpAddresses) {
this.allowedCallerIpAddresses = allowedCallerIpAddresses;
return this;
}
public Builder allowedCallerIpAddresses(IpAddressRangeResponse... allowedCallerIpAddresses) {
return allowedCallerIpAddresses(List.of(allowedCallerIpAddresses));
}
@CustomType.Setter
public Builder openAuthenticationPolicies(@Nullable OpenAuthenticationAccessPoliciesResponse openAuthenticationPolicies) {
this.openAuthenticationPolicies = openAuthenticationPolicies;
return this;
}
public FlowAccessControlConfigurationPolicyResponse build() {
final var _resultValue = new FlowAccessControlConfigurationPolicyResponse();
_resultValue.allowedCallerIpAddresses = allowedCallerIpAddresses;
_resultValue.openAuthenticationPolicies = openAuthenticationPolicies;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy