All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.aws.ec2.outputs.NetworkInsightsAnalysisExplanation Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

The newest version!
// *** 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.aws.ec2.outputs;

import com.pulumi.aws.ec2.outputs.NetworkInsightsAnalysisExplanationAcl;
import com.pulumi.aws.ec2.outputs.NetworkInsightsAnalysisExplanationAclRule;
import com.pulumi.aws.ec2.outputs.NetworkInsightsAnalysisExplanationAttachedTo;
import com.pulumi.aws.ec2.outputs.NetworkInsightsAnalysisExplanationClassicLoadBalancerListener;
import com.pulumi.aws.ec2.outputs.NetworkInsightsAnalysisExplanationComponent;
import com.pulumi.aws.ec2.outputs.NetworkInsightsAnalysisExplanationCustomerGateway;
import com.pulumi.aws.ec2.outputs.NetworkInsightsAnalysisExplanationDestination;
import com.pulumi.aws.ec2.outputs.NetworkInsightsAnalysisExplanationDestinationVpc;
import com.pulumi.aws.ec2.outputs.NetworkInsightsAnalysisExplanationElasticLoadBalancerListener;
import com.pulumi.aws.ec2.outputs.NetworkInsightsAnalysisExplanationIngressRouteTable;
import com.pulumi.aws.ec2.outputs.NetworkInsightsAnalysisExplanationInternetGateway;
import com.pulumi.aws.ec2.outputs.NetworkInsightsAnalysisExplanationLoadBalancerTargetGroup;
import com.pulumi.aws.ec2.outputs.NetworkInsightsAnalysisExplanationNatGateway;
import com.pulumi.aws.ec2.outputs.NetworkInsightsAnalysisExplanationNetworkInterface;
import com.pulumi.aws.ec2.outputs.NetworkInsightsAnalysisExplanationPortRange;
import com.pulumi.aws.ec2.outputs.NetworkInsightsAnalysisExplanationPrefixList;
import com.pulumi.aws.ec2.outputs.NetworkInsightsAnalysisExplanationRouteTable;
import com.pulumi.aws.ec2.outputs.NetworkInsightsAnalysisExplanationRouteTableRoute;
import com.pulumi.aws.ec2.outputs.NetworkInsightsAnalysisExplanationSecurityGroup;
import com.pulumi.aws.ec2.outputs.NetworkInsightsAnalysisExplanationSecurityGroupRule;
import com.pulumi.aws.ec2.outputs.NetworkInsightsAnalysisExplanationSourceVpc;
import com.pulumi.aws.ec2.outputs.NetworkInsightsAnalysisExplanationSubnet;
import com.pulumi.aws.ec2.outputs.NetworkInsightsAnalysisExplanationSubnetRouteTable;
import com.pulumi.aws.ec2.outputs.NetworkInsightsAnalysisExplanationTransitGateway;
import com.pulumi.aws.ec2.outputs.NetworkInsightsAnalysisExplanationTransitGatewayAttachment;
import com.pulumi.aws.ec2.outputs.NetworkInsightsAnalysisExplanationTransitGatewayRouteTable;
import com.pulumi.aws.ec2.outputs.NetworkInsightsAnalysisExplanationTransitGatewayRouteTableRoute;
import com.pulumi.aws.ec2.outputs.NetworkInsightsAnalysisExplanationVpc;
import com.pulumi.aws.ec2.outputs.NetworkInsightsAnalysisExplanationVpcEndpoint;
import com.pulumi.aws.ec2.outputs.NetworkInsightsAnalysisExplanationVpcPeeringConnection;
import com.pulumi.aws.ec2.outputs.NetworkInsightsAnalysisExplanationVpnConnection;
import com.pulumi.aws.ec2.outputs.NetworkInsightsAnalysisExplanationVpnGateway;
import com.pulumi.core.annotations.CustomType;
import java.lang.Integer;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class NetworkInsightsAnalysisExplanation {
    private @Nullable List aclRules;
    private @Nullable List acls;
    private @Nullable String address;
    private @Nullable List addresses;
    private @Nullable List attachedTos;
    private @Nullable List availabilityZones;
    private @Nullable List cidrs;
    private @Nullable List classicLoadBalancerListeners;
    private @Nullable List components;
    private @Nullable List customerGateways;
    private @Nullable List destinationVpcs;
    private @Nullable List destinations;
    private @Nullable String direction;
    private @Nullable List elasticLoadBalancerListeners;
    private @Nullable String explanationCode;
    private @Nullable List ingressRouteTables;
    private @Nullable List internetGateways;
    private @Nullable String loadBalancerArn;
    private @Nullable Integer loadBalancerListenerPort;
    private @Nullable List loadBalancerTargetGroup;
    private @Nullable List loadBalancerTargetGroups;
    private @Nullable Integer loadBalancerTargetPort;
    private @Nullable String missingComponent;
    private @Nullable List natGateways;
    private @Nullable List networkInterfaces;
    private @Nullable String packetField;
    private @Nullable Integer port;
    private @Nullable List portRanges;
    private @Nullable List prefixLists;
    private @Nullable List protocols;
    private @Nullable List routeTableRoutes;
    private @Nullable List routeTables;
    private @Nullable List securityGroup;
    private @Nullable List securityGroupRules;
    private @Nullable List securityGroups;
    private @Nullable List sourceVpcs;
    private @Nullable String state;
    private @Nullable List subnetRouteTables;
    private @Nullable List subnets;
    private @Nullable List transitGatewayAttachments;
    private @Nullable List transitGatewayRouteTableRoutes;
    private @Nullable List transitGatewayRouteTables;
    private @Nullable List transitGateways;
    private @Nullable List vpcEndpoints;
    private @Nullable List vpcPeeringConnections;
    private @Nullable List vpcs;
    private @Nullable List vpnConnections;
    private @Nullable List vpnGateways;

    private NetworkInsightsAnalysisExplanation() {}
    public List aclRules() {
        return this.aclRules == null ? List.of() : this.aclRules;
    }
    public List acls() {
        return this.acls == null ? List.of() : this.acls;
    }
    public Optional address() {
        return Optional.ofNullable(this.address);
    }
    public List addresses() {
        return this.addresses == null ? List.of() : this.addresses;
    }
    public List attachedTos() {
        return this.attachedTos == null ? List.of() : this.attachedTos;
    }
    public List availabilityZones() {
        return this.availabilityZones == null ? List.of() : this.availabilityZones;
    }
    public List cidrs() {
        return this.cidrs == null ? List.of() : this.cidrs;
    }
    public List classicLoadBalancerListeners() {
        return this.classicLoadBalancerListeners == null ? List.of() : this.classicLoadBalancerListeners;
    }
    public List components() {
        return this.components == null ? List.of() : this.components;
    }
    public List customerGateways() {
        return this.customerGateways == null ? List.of() : this.customerGateways;
    }
    public List destinationVpcs() {
        return this.destinationVpcs == null ? List.of() : this.destinationVpcs;
    }
    public List destinations() {
        return this.destinations == null ? List.of() : this.destinations;
    }
    public Optional direction() {
        return Optional.ofNullable(this.direction);
    }
    public List elasticLoadBalancerListeners() {
        return this.elasticLoadBalancerListeners == null ? List.of() : this.elasticLoadBalancerListeners;
    }
    public Optional explanationCode() {
        return Optional.ofNullable(this.explanationCode);
    }
    public List ingressRouteTables() {
        return this.ingressRouteTables == null ? List.of() : this.ingressRouteTables;
    }
    public List internetGateways() {
        return this.internetGateways == null ? List.of() : this.internetGateways;
    }
    public Optional loadBalancerArn() {
        return Optional.ofNullable(this.loadBalancerArn);
    }
    public Optional loadBalancerListenerPort() {
        return Optional.ofNullable(this.loadBalancerListenerPort);
    }
    public List loadBalancerTargetGroup() {
        return this.loadBalancerTargetGroup == null ? List.of() : this.loadBalancerTargetGroup;
    }
    public List loadBalancerTargetGroups() {
        return this.loadBalancerTargetGroups == null ? List.of() : this.loadBalancerTargetGroups;
    }
    public Optional loadBalancerTargetPort() {
        return Optional.ofNullable(this.loadBalancerTargetPort);
    }
    public Optional missingComponent() {
        return Optional.ofNullable(this.missingComponent);
    }
    public List natGateways() {
        return this.natGateways == null ? List.of() : this.natGateways;
    }
    public List networkInterfaces() {
        return this.networkInterfaces == null ? List.of() : this.networkInterfaces;
    }
    public Optional packetField() {
        return Optional.ofNullable(this.packetField);
    }
    public Optional port() {
        return Optional.ofNullable(this.port);
    }
    public List portRanges() {
        return this.portRanges == null ? List.of() : this.portRanges;
    }
    public List prefixLists() {
        return this.prefixLists == null ? List.of() : this.prefixLists;
    }
    public List protocols() {
        return this.protocols == null ? List.of() : this.protocols;
    }
    public List routeTableRoutes() {
        return this.routeTableRoutes == null ? List.of() : this.routeTableRoutes;
    }
    public List routeTables() {
        return this.routeTables == null ? List.of() : this.routeTables;
    }
    public List securityGroup() {
        return this.securityGroup == null ? List.of() : this.securityGroup;
    }
    public List securityGroupRules() {
        return this.securityGroupRules == null ? List.of() : this.securityGroupRules;
    }
    public List securityGroups() {
        return this.securityGroups == null ? List.of() : this.securityGroups;
    }
    public List sourceVpcs() {
        return this.sourceVpcs == null ? List.of() : this.sourceVpcs;
    }
    public Optional state() {
        return Optional.ofNullable(this.state);
    }
    public List subnetRouteTables() {
        return this.subnetRouteTables == null ? List.of() : this.subnetRouteTables;
    }
    public List subnets() {
        return this.subnets == null ? List.of() : this.subnets;
    }
    public List transitGatewayAttachments() {
        return this.transitGatewayAttachments == null ? List.of() : this.transitGatewayAttachments;
    }
    public List transitGatewayRouteTableRoutes() {
        return this.transitGatewayRouteTableRoutes == null ? List.of() : this.transitGatewayRouteTableRoutes;
    }
    public List transitGatewayRouteTables() {
        return this.transitGatewayRouteTables == null ? List.of() : this.transitGatewayRouteTables;
    }
    public List transitGateways() {
        return this.transitGateways == null ? List.of() : this.transitGateways;
    }
    public List vpcEndpoints() {
        return this.vpcEndpoints == null ? List.of() : this.vpcEndpoints;
    }
    public List vpcPeeringConnections() {
        return this.vpcPeeringConnections == null ? List.of() : this.vpcPeeringConnections;
    }
    public List vpcs() {
        return this.vpcs == null ? List.of() : this.vpcs;
    }
    public List vpnConnections() {
        return this.vpnConnections == null ? List.of() : this.vpnConnections;
    }
    public List vpnGateways() {
        return this.vpnGateways == null ? List.of() : this.vpnGateways;
    }

    public static Builder builder() {
        return new Builder();
    }

    public static Builder builder(NetworkInsightsAnalysisExplanation defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable List aclRules;
        private @Nullable List acls;
        private @Nullable String address;
        private @Nullable List addresses;
        private @Nullable List attachedTos;
        private @Nullable List availabilityZones;
        private @Nullable List cidrs;
        private @Nullable List classicLoadBalancerListeners;
        private @Nullable List components;
        private @Nullable List customerGateways;
        private @Nullable List destinationVpcs;
        private @Nullable List destinations;
        private @Nullable String direction;
        private @Nullable List elasticLoadBalancerListeners;
        private @Nullable String explanationCode;
        private @Nullable List ingressRouteTables;
        private @Nullable List internetGateways;
        private @Nullable String loadBalancerArn;
        private @Nullable Integer loadBalancerListenerPort;
        private @Nullable List loadBalancerTargetGroup;
        private @Nullable List loadBalancerTargetGroups;
        private @Nullable Integer loadBalancerTargetPort;
        private @Nullable String missingComponent;
        private @Nullable List natGateways;
        private @Nullable List networkInterfaces;
        private @Nullable String packetField;
        private @Nullable Integer port;
        private @Nullable List portRanges;
        private @Nullable List prefixLists;
        private @Nullable List protocols;
        private @Nullable List routeTableRoutes;
        private @Nullable List routeTables;
        private @Nullable List securityGroup;
        private @Nullable List securityGroupRules;
        private @Nullable List securityGroups;
        private @Nullable List sourceVpcs;
        private @Nullable String state;
        private @Nullable List subnetRouteTables;
        private @Nullable List subnets;
        private @Nullable List transitGatewayAttachments;
        private @Nullable List transitGatewayRouteTableRoutes;
        private @Nullable List transitGatewayRouteTables;
        private @Nullable List transitGateways;
        private @Nullable List vpcEndpoints;
        private @Nullable List vpcPeeringConnections;
        private @Nullable List vpcs;
        private @Nullable List vpnConnections;
        private @Nullable List vpnGateways;
        public Builder() {}
        public Builder(NetworkInsightsAnalysisExplanation defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.aclRules = defaults.aclRules;
    	      this.acls = defaults.acls;
    	      this.address = defaults.address;
    	      this.addresses = defaults.addresses;
    	      this.attachedTos = defaults.attachedTos;
    	      this.availabilityZones = defaults.availabilityZones;
    	      this.cidrs = defaults.cidrs;
    	      this.classicLoadBalancerListeners = defaults.classicLoadBalancerListeners;
    	      this.components = defaults.components;
    	      this.customerGateways = defaults.customerGateways;
    	      this.destinationVpcs = defaults.destinationVpcs;
    	      this.destinations = defaults.destinations;
    	      this.direction = defaults.direction;
    	      this.elasticLoadBalancerListeners = defaults.elasticLoadBalancerListeners;
    	      this.explanationCode = defaults.explanationCode;
    	      this.ingressRouteTables = defaults.ingressRouteTables;
    	      this.internetGateways = defaults.internetGateways;
    	      this.loadBalancerArn = defaults.loadBalancerArn;
    	      this.loadBalancerListenerPort = defaults.loadBalancerListenerPort;
    	      this.loadBalancerTargetGroup = defaults.loadBalancerTargetGroup;
    	      this.loadBalancerTargetGroups = defaults.loadBalancerTargetGroups;
    	      this.loadBalancerTargetPort = defaults.loadBalancerTargetPort;
    	      this.missingComponent = defaults.missingComponent;
    	      this.natGateways = defaults.natGateways;
    	      this.networkInterfaces = defaults.networkInterfaces;
    	      this.packetField = defaults.packetField;
    	      this.port = defaults.port;
    	      this.portRanges = defaults.portRanges;
    	      this.prefixLists = defaults.prefixLists;
    	      this.protocols = defaults.protocols;
    	      this.routeTableRoutes = defaults.routeTableRoutes;
    	      this.routeTables = defaults.routeTables;
    	      this.securityGroup = defaults.securityGroup;
    	      this.securityGroupRules = defaults.securityGroupRules;
    	      this.securityGroups = defaults.securityGroups;
    	      this.sourceVpcs = defaults.sourceVpcs;
    	      this.state = defaults.state;
    	      this.subnetRouteTables = defaults.subnetRouteTables;
    	      this.subnets = defaults.subnets;
    	      this.transitGatewayAttachments = defaults.transitGatewayAttachments;
    	      this.transitGatewayRouteTableRoutes = defaults.transitGatewayRouteTableRoutes;
    	      this.transitGatewayRouteTables = defaults.transitGatewayRouteTables;
    	      this.transitGateways = defaults.transitGateways;
    	      this.vpcEndpoints = defaults.vpcEndpoints;
    	      this.vpcPeeringConnections = defaults.vpcPeeringConnections;
    	      this.vpcs = defaults.vpcs;
    	      this.vpnConnections = defaults.vpnConnections;
    	      this.vpnGateways = defaults.vpnGateways;
        }

        @CustomType.Setter
        public Builder aclRules(@Nullable List aclRules) {

            this.aclRules = aclRules;
            return this;
        }
        public Builder aclRules(NetworkInsightsAnalysisExplanationAclRule... aclRules) {
            return aclRules(List.of(aclRules));
        }
        @CustomType.Setter
        public Builder acls(@Nullable List acls) {

            this.acls = acls;
            return this;
        }
        public Builder acls(NetworkInsightsAnalysisExplanationAcl... acls) {
            return acls(List.of(acls));
        }
        @CustomType.Setter
        public Builder address(@Nullable String address) {

            this.address = address;
            return this;
        }
        @CustomType.Setter
        public Builder addresses(@Nullable List addresses) {

            this.addresses = addresses;
            return this;
        }
        public Builder addresses(String... addresses) {
            return addresses(List.of(addresses));
        }
        @CustomType.Setter
        public Builder attachedTos(@Nullable List attachedTos) {

            this.attachedTos = attachedTos;
            return this;
        }
        public Builder attachedTos(NetworkInsightsAnalysisExplanationAttachedTo... attachedTos) {
            return attachedTos(List.of(attachedTos));
        }
        @CustomType.Setter
        public Builder availabilityZones(@Nullable List availabilityZones) {

            this.availabilityZones = availabilityZones;
            return this;
        }
        public Builder availabilityZones(String... availabilityZones) {
            return availabilityZones(List.of(availabilityZones));
        }
        @CustomType.Setter
        public Builder cidrs(@Nullable List cidrs) {

            this.cidrs = cidrs;
            return this;
        }
        public Builder cidrs(String... cidrs) {
            return cidrs(List.of(cidrs));
        }
        @CustomType.Setter
        public Builder classicLoadBalancerListeners(@Nullable List classicLoadBalancerListeners) {

            this.classicLoadBalancerListeners = classicLoadBalancerListeners;
            return this;
        }
        public Builder classicLoadBalancerListeners(NetworkInsightsAnalysisExplanationClassicLoadBalancerListener... classicLoadBalancerListeners) {
            return classicLoadBalancerListeners(List.of(classicLoadBalancerListeners));
        }
        @CustomType.Setter
        public Builder components(@Nullable List components) {

            this.components = components;
            return this;
        }
        public Builder components(NetworkInsightsAnalysisExplanationComponent... components) {
            return components(List.of(components));
        }
        @CustomType.Setter
        public Builder customerGateways(@Nullable List customerGateways) {

            this.customerGateways = customerGateways;
            return this;
        }
        public Builder customerGateways(NetworkInsightsAnalysisExplanationCustomerGateway... customerGateways) {
            return customerGateways(List.of(customerGateways));
        }
        @CustomType.Setter
        public Builder destinationVpcs(@Nullable List destinationVpcs) {

            this.destinationVpcs = destinationVpcs;
            return this;
        }
        public Builder destinationVpcs(NetworkInsightsAnalysisExplanationDestinationVpc... destinationVpcs) {
            return destinationVpcs(List.of(destinationVpcs));
        }
        @CustomType.Setter
        public Builder destinations(@Nullable List destinations) {

            this.destinations = destinations;
            return this;
        }
        public Builder destinations(NetworkInsightsAnalysisExplanationDestination... destinations) {
            return destinations(List.of(destinations));
        }
        @CustomType.Setter
        public Builder direction(@Nullable String direction) {

            this.direction = direction;
            return this;
        }
        @CustomType.Setter
        public Builder elasticLoadBalancerListeners(@Nullable List elasticLoadBalancerListeners) {

            this.elasticLoadBalancerListeners = elasticLoadBalancerListeners;
            return this;
        }
        public Builder elasticLoadBalancerListeners(NetworkInsightsAnalysisExplanationElasticLoadBalancerListener... elasticLoadBalancerListeners) {
            return elasticLoadBalancerListeners(List.of(elasticLoadBalancerListeners));
        }
        @CustomType.Setter
        public Builder explanationCode(@Nullable String explanationCode) {

            this.explanationCode = explanationCode;
            return this;
        }
        @CustomType.Setter
        public Builder ingressRouteTables(@Nullable List ingressRouteTables) {

            this.ingressRouteTables = ingressRouteTables;
            return this;
        }
        public Builder ingressRouteTables(NetworkInsightsAnalysisExplanationIngressRouteTable... ingressRouteTables) {
            return ingressRouteTables(List.of(ingressRouteTables));
        }
        @CustomType.Setter
        public Builder internetGateways(@Nullable List internetGateways) {

            this.internetGateways = internetGateways;
            return this;
        }
        public Builder internetGateways(NetworkInsightsAnalysisExplanationInternetGateway... internetGateways) {
            return internetGateways(List.of(internetGateways));
        }
        @CustomType.Setter
        public Builder loadBalancerArn(@Nullable String loadBalancerArn) {

            this.loadBalancerArn = loadBalancerArn;
            return this;
        }
        @CustomType.Setter
        public Builder loadBalancerListenerPort(@Nullable Integer loadBalancerListenerPort) {

            this.loadBalancerListenerPort = loadBalancerListenerPort;
            return this;
        }
        @CustomType.Setter
        public Builder loadBalancerTargetGroup(@Nullable List loadBalancerTargetGroup) {

            this.loadBalancerTargetGroup = loadBalancerTargetGroup;
            return this;
        }
        public Builder loadBalancerTargetGroup(NetworkInsightsAnalysisExplanationLoadBalancerTargetGroup... loadBalancerTargetGroup) {
            return loadBalancerTargetGroup(List.of(loadBalancerTargetGroup));
        }
        @CustomType.Setter
        public Builder loadBalancerTargetGroups(@Nullable List loadBalancerTargetGroups) {

            this.loadBalancerTargetGroups = loadBalancerTargetGroups;
            return this;
        }
        public Builder loadBalancerTargetGroups(NetworkInsightsAnalysisExplanationLoadBalancerTargetGroup... loadBalancerTargetGroups) {
            return loadBalancerTargetGroups(List.of(loadBalancerTargetGroups));
        }
        @CustomType.Setter
        public Builder loadBalancerTargetPort(@Nullable Integer loadBalancerTargetPort) {

            this.loadBalancerTargetPort = loadBalancerTargetPort;
            return this;
        }
        @CustomType.Setter
        public Builder missingComponent(@Nullable String missingComponent) {

            this.missingComponent = missingComponent;
            return this;
        }
        @CustomType.Setter
        public Builder natGateways(@Nullable List natGateways) {

            this.natGateways = natGateways;
            return this;
        }
        public Builder natGateways(NetworkInsightsAnalysisExplanationNatGateway... natGateways) {
            return natGateways(List.of(natGateways));
        }
        @CustomType.Setter
        public Builder networkInterfaces(@Nullable List networkInterfaces) {

            this.networkInterfaces = networkInterfaces;
            return this;
        }
        public Builder networkInterfaces(NetworkInsightsAnalysisExplanationNetworkInterface... networkInterfaces) {
            return networkInterfaces(List.of(networkInterfaces));
        }
        @CustomType.Setter
        public Builder packetField(@Nullable String packetField) {

            this.packetField = packetField;
            return this;
        }
        @CustomType.Setter
        public Builder port(@Nullable Integer port) {

            this.port = port;
            return this;
        }
        @CustomType.Setter
        public Builder portRanges(@Nullable List portRanges) {

            this.portRanges = portRanges;
            return this;
        }
        public Builder portRanges(NetworkInsightsAnalysisExplanationPortRange... portRanges) {
            return portRanges(List.of(portRanges));
        }
        @CustomType.Setter
        public Builder prefixLists(@Nullable List prefixLists) {

            this.prefixLists = prefixLists;
            return this;
        }
        public Builder prefixLists(NetworkInsightsAnalysisExplanationPrefixList... prefixLists) {
            return prefixLists(List.of(prefixLists));
        }
        @CustomType.Setter
        public Builder protocols(@Nullable List protocols) {

            this.protocols = protocols;
            return this;
        }
        public Builder protocols(String... protocols) {
            return protocols(List.of(protocols));
        }
        @CustomType.Setter
        public Builder routeTableRoutes(@Nullable List routeTableRoutes) {

            this.routeTableRoutes = routeTableRoutes;
            return this;
        }
        public Builder routeTableRoutes(NetworkInsightsAnalysisExplanationRouteTableRoute... routeTableRoutes) {
            return routeTableRoutes(List.of(routeTableRoutes));
        }
        @CustomType.Setter
        public Builder routeTables(@Nullable List routeTables) {

            this.routeTables = routeTables;
            return this;
        }
        public Builder routeTables(NetworkInsightsAnalysisExplanationRouteTable... routeTables) {
            return routeTables(List.of(routeTables));
        }
        @CustomType.Setter
        public Builder securityGroup(@Nullable List securityGroup) {

            this.securityGroup = securityGroup;
            return this;
        }
        public Builder securityGroup(NetworkInsightsAnalysisExplanationSecurityGroup... securityGroup) {
            return securityGroup(List.of(securityGroup));
        }
        @CustomType.Setter
        public Builder securityGroupRules(@Nullable List securityGroupRules) {

            this.securityGroupRules = securityGroupRules;
            return this;
        }
        public Builder securityGroupRules(NetworkInsightsAnalysisExplanationSecurityGroupRule... securityGroupRules) {
            return securityGroupRules(List.of(securityGroupRules));
        }
        @CustomType.Setter
        public Builder securityGroups(@Nullable List securityGroups) {

            this.securityGroups = securityGroups;
            return this;
        }
        public Builder securityGroups(NetworkInsightsAnalysisExplanationSecurityGroup... securityGroups) {
            return securityGroups(List.of(securityGroups));
        }
        @CustomType.Setter
        public Builder sourceVpcs(@Nullable List sourceVpcs) {

            this.sourceVpcs = sourceVpcs;
            return this;
        }
        public Builder sourceVpcs(NetworkInsightsAnalysisExplanationSourceVpc... sourceVpcs) {
            return sourceVpcs(List.of(sourceVpcs));
        }
        @CustomType.Setter
        public Builder state(@Nullable String state) {

            this.state = state;
            return this;
        }
        @CustomType.Setter
        public Builder subnetRouteTables(@Nullable List subnetRouteTables) {

            this.subnetRouteTables = subnetRouteTables;
            return this;
        }
        public Builder subnetRouteTables(NetworkInsightsAnalysisExplanationSubnetRouteTable... subnetRouteTables) {
            return subnetRouteTables(List.of(subnetRouteTables));
        }
        @CustomType.Setter
        public Builder subnets(@Nullable List subnets) {

            this.subnets = subnets;
            return this;
        }
        public Builder subnets(NetworkInsightsAnalysisExplanationSubnet... subnets) {
            return subnets(List.of(subnets));
        }
        @CustomType.Setter
        public Builder transitGatewayAttachments(@Nullable List transitGatewayAttachments) {

            this.transitGatewayAttachments = transitGatewayAttachments;
            return this;
        }
        public Builder transitGatewayAttachments(NetworkInsightsAnalysisExplanationTransitGatewayAttachment... transitGatewayAttachments) {
            return transitGatewayAttachments(List.of(transitGatewayAttachments));
        }
        @CustomType.Setter
        public Builder transitGatewayRouteTableRoutes(@Nullable List transitGatewayRouteTableRoutes) {

            this.transitGatewayRouteTableRoutes = transitGatewayRouteTableRoutes;
            return this;
        }
        public Builder transitGatewayRouteTableRoutes(NetworkInsightsAnalysisExplanationTransitGatewayRouteTableRoute... transitGatewayRouteTableRoutes) {
            return transitGatewayRouteTableRoutes(List.of(transitGatewayRouteTableRoutes));
        }
        @CustomType.Setter
        public Builder transitGatewayRouteTables(@Nullable List transitGatewayRouteTables) {

            this.transitGatewayRouteTables = transitGatewayRouteTables;
            return this;
        }
        public Builder transitGatewayRouteTables(NetworkInsightsAnalysisExplanationTransitGatewayRouteTable... transitGatewayRouteTables) {
            return transitGatewayRouteTables(List.of(transitGatewayRouteTables));
        }
        @CustomType.Setter
        public Builder transitGateways(@Nullable List transitGateways) {

            this.transitGateways = transitGateways;
            return this;
        }
        public Builder transitGateways(NetworkInsightsAnalysisExplanationTransitGateway... transitGateways) {
            return transitGateways(List.of(transitGateways));
        }
        @CustomType.Setter
        public Builder vpcEndpoints(@Nullable List vpcEndpoints) {

            this.vpcEndpoints = vpcEndpoints;
            return this;
        }
        public Builder vpcEndpoints(NetworkInsightsAnalysisExplanationVpcEndpoint... vpcEndpoints) {
            return vpcEndpoints(List.of(vpcEndpoints));
        }
        @CustomType.Setter
        public Builder vpcPeeringConnections(@Nullable List vpcPeeringConnections) {

            this.vpcPeeringConnections = vpcPeeringConnections;
            return this;
        }
        public Builder vpcPeeringConnections(NetworkInsightsAnalysisExplanationVpcPeeringConnection... vpcPeeringConnections) {
            return vpcPeeringConnections(List.of(vpcPeeringConnections));
        }
        @CustomType.Setter
        public Builder vpcs(@Nullable List vpcs) {

            this.vpcs = vpcs;
            return this;
        }
        public Builder vpcs(NetworkInsightsAnalysisExplanationVpc... vpcs) {
            return vpcs(List.of(vpcs));
        }
        @CustomType.Setter
        public Builder vpnConnections(@Nullable List vpnConnections) {

            this.vpnConnections = vpnConnections;
            return this;
        }
        public Builder vpnConnections(NetworkInsightsAnalysisExplanationVpnConnection... vpnConnections) {
            return vpnConnections(List.of(vpnConnections));
        }
        @CustomType.Setter
        public Builder vpnGateways(@Nullable List vpnGateways) {

            this.vpnGateways = vpnGateways;
            return this;
        }
        public Builder vpnGateways(NetworkInsightsAnalysisExplanationVpnGateway... vpnGateways) {
            return vpnGateways(List.of(vpnGateways));
        }
        public NetworkInsightsAnalysisExplanation build() {
            final var _resultValue = new NetworkInsightsAnalysisExplanation();
            _resultValue.aclRules = aclRules;
            _resultValue.acls = acls;
            _resultValue.address = address;
            _resultValue.addresses = addresses;
            _resultValue.attachedTos = attachedTos;
            _resultValue.availabilityZones = availabilityZones;
            _resultValue.cidrs = cidrs;
            _resultValue.classicLoadBalancerListeners = classicLoadBalancerListeners;
            _resultValue.components = components;
            _resultValue.customerGateways = customerGateways;
            _resultValue.destinationVpcs = destinationVpcs;
            _resultValue.destinations = destinations;
            _resultValue.direction = direction;
            _resultValue.elasticLoadBalancerListeners = elasticLoadBalancerListeners;
            _resultValue.explanationCode = explanationCode;
            _resultValue.ingressRouteTables = ingressRouteTables;
            _resultValue.internetGateways = internetGateways;
            _resultValue.loadBalancerArn = loadBalancerArn;
            _resultValue.loadBalancerListenerPort = loadBalancerListenerPort;
            _resultValue.loadBalancerTargetGroup = loadBalancerTargetGroup;
            _resultValue.loadBalancerTargetGroups = loadBalancerTargetGroups;
            _resultValue.loadBalancerTargetPort = loadBalancerTargetPort;
            _resultValue.missingComponent = missingComponent;
            _resultValue.natGateways = natGateways;
            _resultValue.networkInterfaces = networkInterfaces;
            _resultValue.packetField = packetField;
            _resultValue.port = port;
            _resultValue.portRanges = portRanges;
            _resultValue.prefixLists = prefixLists;
            _resultValue.protocols = protocols;
            _resultValue.routeTableRoutes = routeTableRoutes;
            _resultValue.routeTables = routeTables;
            _resultValue.securityGroup = securityGroup;
            _resultValue.securityGroupRules = securityGroupRules;
            _resultValue.securityGroups = securityGroups;
            _resultValue.sourceVpcs = sourceVpcs;
            _resultValue.state = state;
            _resultValue.subnetRouteTables = subnetRouteTables;
            _resultValue.subnets = subnets;
            _resultValue.transitGatewayAttachments = transitGatewayAttachments;
            _resultValue.transitGatewayRouteTableRoutes = transitGatewayRouteTableRoutes;
            _resultValue.transitGatewayRouteTables = transitGatewayRouteTables;
            _resultValue.transitGateways = transitGateways;
            _resultValue.vpcEndpoints = vpcEndpoints;
            _resultValue.vpcPeeringConnections = vpcPeeringConnections;
            _resultValue.vpcs = vpcs;
            _resultValue.vpnConnections = vpnConnections;
            _resultValue.vpnGateways = vpnGateways;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy