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

com.pulumi.aws.imagebuilder.outputs.ContainerRecipeComponent 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.60.0-alpha.1731982519
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.imagebuilder.outputs;

import com.pulumi.aws.imagebuilder.outputs.ContainerRecipeComponentParameter;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import javax.annotation.Nullable;

@CustomType
public final class ContainerRecipeComponent {
    /**
     * @return Amazon Resource Name (ARN) of the Image Builder Component to associate.
     * 
     */
    private String componentArn;
    /**
     * @return Configuration block(s) for parameters to configure the component. Detailed below.
     * 
     */
    private @Nullable List parameters;

    private ContainerRecipeComponent() {}
    /**
     * @return Amazon Resource Name (ARN) of the Image Builder Component to associate.
     * 
     */
    public String componentArn() {
        return this.componentArn;
    }
    /**
     * @return Configuration block(s) for parameters to configure the component. Detailed below.
     * 
     */
    public List parameters() {
        return this.parameters == null ? List.of() : this.parameters;
    }

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

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

        @CustomType.Setter
        public Builder componentArn(String componentArn) {
            if (componentArn == null) {
              throw new MissingRequiredPropertyException("ContainerRecipeComponent", "componentArn");
            }
            this.componentArn = componentArn;
            return this;
        }
        @CustomType.Setter
        public Builder parameters(@Nullable List parameters) {

            this.parameters = parameters;
            return this;
        }
        public Builder parameters(ContainerRecipeComponentParameter... parameters) {
            return parameters(List.of(parameters));
        }
        public ContainerRecipeComponent build() {
            final var _resultValue = new ContainerRecipeComponent();
            _resultValue.componentArn = componentArn;
            _resultValue.parameters = parameters;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy