com.pulumi.azurenative.servicefabric.outputs.SubnetResponse 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.servicefabric.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class SubnetResponse {
/**
* @return Indicates wether to enable Ipv6 or not. If not provided, it will take the same configuration as the cluster.
*
*/
private @Nullable Boolean enableIpv6;
/**
* @return Subnet name.
*
*/
private String name;
/**
* @return Full resource id for the network security group.
*
*/
private @Nullable String networkSecurityGroupId;
/**
* @return Enable or Disable apply network policies on private end point in the subnet.
*
*/
private @Nullable String privateEndpointNetworkPolicies;
/**
* @return Enable or Disable apply network policies on private link service in the subnet.
*
*/
private @Nullable String privateLinkServiceNetworkPolicies;
private SubnetResponse() {}
/**
* @return Indicates wether to enable Ipv6 or not. If not provided, it will take the same configuration as the cluster.
*
*/
public Optional enableIpv6() {
return Optional.ofNullable(this.enableIpv6);
}
/**
* @return Subnet name.
*
*/
public String name() {
return this.name;
}
/**
* @return Full resource id for the network security group.
*
*/
public Optional networkSecurityGroupId() {
return Optional.ofNullable(this.networkSecurityGroupId);
}
/**
* @return Enable or Disable apply network policies on private end point in the subnet.
*
*/
public Optional privateEndpointNetworkPolicies() {
return Optional.ofNullable(this.privateEndpointNetworkPolicies);
}
/**
* @return Enable or Disable apply network policies on private link service in the subnet.
*
*/
public Optional privateLinkServiceNetworkPolicies() {
return Optional.ofNullable(this.privateLinkServiceNetworkPolicies);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(SubnetResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable Boolean enableIpv6;
private String name;
private @Nullable String networkSecurityGroupId;
private @Nullable String privateEndpointNetworkPolicies;
private @Nullable String privateLinkServiceNetworkPolicies;
public Builder() {}
public Builder(SubnetResponse defaults) {
Objects.requireNonNull(defaults);
this.enableIpv6 = defaults.enableIpv6;
this.name = defaults.name;
this.networkSecurityGroupId = defaults.networkSecurityGroupId;
this.privateEndpointNetworkPolicies = defaults.privateEndpointNetworkPolicies;
this.privateLinkServiceNetworkPolicies = defaults.privateLinkServiceNetworkPolicies;
}
@CustomType.Setter
public Builder enableIpv6(@Nullable Boolean enableIpv6) {
this.enableIpv6 = enableIpv6;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("SubnetResponse", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder networkSecurityGroupId(@Nullable String networkSecurityGroupId) {
this.networkSecurityGroupId = networkSecurityGroupId;
return this;
}
@CustomType.Setter
public Builder privateEndpointNetworkPolicies(@Nullable String privateEndpointNetworkPolicies) {
this.privateEndpointNetworkPolicies = privateEndpointNetworkPolicies;
return this;
}
@CustomType.Setter
public Builder privateLinkServiceNetworkPolicies(@Nullable String privateLinkServiceNetworkPolicies) {
this.privateLinkServiceNetworkPolicies = privateLinkServiceNetworkPolicies;
return this;
}
public SubnetResponse build() {
final var _resultValue = new SubnetResponse();
_resultValue.enableIpv6 = enableIpv6;
_resultValue.name = name;
_resultValue.networkSecurityGroupId = networkSecurityGroupId;
_resultValue.privateEndpointNetworkPolicies = privateEndpointNetworkPolicies;
_resultValue.privateLinkServiceNetworkPolicies = privateLinkServiceNetworkPolicies;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy