com.pulumi.azurenative.signalrservice.outputs.SignalRNetworkACLsResponse 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.signalrservice.outputs;
import com.pulumi.azurenative.signalrservice.outputs.NetworkACLResponse;
import com.pulumi.azurenative.signalrservice.outputs.PrivateEndpointACLResponse;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class SignalRNetworkACLsResponse {
/**
* @return Azure Networking ACL Action.
*
*/
private @Nullable String defaultAction;
/**
* @return ACLs for requests from private endpoints
*
*/
private @Nullable List privateEndpoints;
/**
* @return Network ACL
*
*/
private @Nullable NetworkACLResponse publicNetwork;
private SignalRNetworkACLsResponse() {}
/**
* @return Azure Networking ACL Action.
*
*/
public Optional defaultAction() {
return Optional.ofNullable(this.defaultAction);
}
/**
* @return ACLs for requests from private endpoints
*
*/
public List privateEndpoints() {
return this.privateEndpoints == null ? List.of() : this.privateEndpoints;
}
/**
* @return Network ACL
*
*/
public Optional publicNetwork() {
return Optional.ofNullable(this.publicNetwork);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(SignalRNetworkACLsResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String defaultAction;
private @Nullable List privateEndpoints;
private @Nullable NetworkACLResponse publicNetwork;
public Builder() {}
public Builder(SignalRNetworkACLsResponse defaults) {
Objects.requireNonNull(defaults);
this.defaultAction = defaults.defaultAction;
this.privateEndpoints = defaults.privateEndpoints;
this.publicNetwork = defaults.publicNetwork;
}
@CustomType.Setter
public Builder defaultAction(@Nullable String defaultAction) {
this.defaultAction = defaultAction;
return this;
}
@CustomType.Setter
public Builder privateEndpoints(@Nullable List privateEndpoints) {
this.privateEndpoints = privateEndpoints;
return this;
}
public Builder privateEndpoints(PrivateEndpointACLResponse... privateEndpoints) {
return privateEndpoints(List.of(privateEndpoints));
}
@CustomType.Setter
public Builder publicNetwork(@Nullable NetworkACLResponse publicNetwork) {
this.publicNetwork = publicNetwork;
return this;
}
public SignalRNetworkACLsResponse build() {
final var _resultValue = new SignalRNetworkACLsResponse();
_resultValue.defaultAction = defaultAction;
_resultValue.privateEndpoints = privateEndpoints;
_resultValue.publicNetwork = publicNetwork;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy