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

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

Go to download

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

There is a newer version: 6.66.3
Show 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.NetworkInsightsAnalysisForwardPathComponentAdditionalDetailComponent;
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 NetworkInsightsAnalysisForwardPathComponentAdditionalDetail {
    private @Nullable String additionalDetailType;
    private @Nullable List components;

    private NetworkInsightsAnalysisForwardPathComponentAdditionalDetail() {}
    public Optional additionalDetailType() {
        return Optional.ofNullable(this.additionalDetailType);
    }
    public List components() {
        return this.components == null ? List.of() : this.components;
    }

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

    public static Builder builder(NetworkInsightsAnalysisForwardPathComponentAdditionalDetail defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String additionalDetailType;
        private @Nullable List components;
        public Builder() {}
        public Builder(NetworkInsightsAnalysisForwardPathComponentAdditionalDetail defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.additionalDetailType = defaults.additionalDetailType;
    	      this.components = defaults.components;
        }

        @CustomType.Setter
        public Builder additionalDetailType(@Nullable String additionalDetailType) {

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

            this.components = components;
            return this;
        }
        public Builder components(NetworkInsightsAnalysisForwardPathComponentAdditionalDetailComponent... components) {
            return components(List.of(components));
        }
        public NetworkInsightsAnalysisForwardPathComponentAdditionalDetail build() {
            final var _resultValue = new NetworkInsightsAnalysisForwardPathComponentAdditionalDetail();
            _resultValue.additionalDetailType = additionalDetailType;
            _resultValue.components = components;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy