
com.pulumi.azurenative.managednetworkfabric.outputs.CommonDynamicMatchConfigurationResponse 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.managednetworkfabric.outputs;
import com.pulumi.azurenative.managednetworkfabric.outputs.IpGroupPropertiesResponse;
import com.pulumi.azurenative.managednetworkfabric.outputs.PortGroupPropertiesResponse;
import com.pulumi.azurenative.managednetworkfabric.outputs.VlanGroupPropertiesResponse;
import com.pulumi.core.annotations.CustomType;
import java.util.List;
import java.util.Objects;
import javax.annotation.Nullable;
@CustomType
public final class CommonDynamicMatchConfigurationResponse {
/**
* @return List of IP Groups.
*
*/
private @Nullable List ipGroups;
/**
* @return List of the port groups.
*
*/
private @Nullable List portGroups;
/**
* @return List of vlan groups.
*
*/
private @Nullable List vlanGroups;
private CommonDynamicMatchConfigurationResponse() {}
/**
* @return List of IP Groups.
*
*/
public List ipGroups() {
return this.ipGroups == null ? List.of() : this.ipGroups;
}
/**
* @return List of the port groups.
*
*/
public List portGroups() {
return this.portGroups == null ? List.of() : this.portGroups;
}
/**
* @return List of vlan groups.
*
*/
public List vlanGroups() {
return this.vlanGroups == null ? List.of() : this.vlanGroups;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(CommonDynamicMatchConfigurationResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable List ipGroups;
private @Nullable List portGroups;
private @Nullable List vlanGroups;
public Builder() {}
public Builder(CommonDynamicMatchConfigurationResponse defaults) {
Objects.requireNonNull(defaults);
this.ipGroups = defaults.ipGroups;
this.portGroups = defaults.portGroups;
this.vlanGroups = defaults.vlanGroups;
}
@CustomType.Setter
public Builder ipGroups(@Nullable List ipGroups) {
this.ipGroups = ipGroups;
return this;
}
public Builder ipGroups(IpGroupPropertiesResponse... ipGroups) {
return ipGroups(List.of(ipGroups));
}
@CustomType.Setter
public Builder portGroups(@Nullable List portGroups) {
this.portGroups = portGroups;
return this;
}
public Builder portGroups(PortGroupPropertiesResponse... portGroups) {
return portGroups(List.of(portGroups));
}
@CustomType.Setter
public Builder vlanGroups(@Nullable List vlanGroups) {
this.vlanGroups = vlanGroups;
return this;
}
public Builder vlanGroups(VlanGroupPropertiesResponse... vlanGroups) {
return vlanGroups(List.of(vlanGroups));
}
public CommonDynamicMatchConfigurationResponse build() {
final var _resultValue = new CommonDynamicMatchConfigurationResponse();
_resultValue.ipGroups = ipGroups;
_resultValue.portGroups = portGroups;
_resultValue.vlanGroups = vlanGroups;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy