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

com.pulumi.aws.imagebuilder.outputs.GetContainerRecipeComponent 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.GetContainerRecipeComponentParameter;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;

@CustomType
public final class GetContainerRecipeComponent {
    /**
     * @return ARN of the Image Builder Component.
     * 
     */
    private String componentArn;
    /**
     * @return Set of parameters that are used to configure the component.
     * 
     */
    private List parameters;

    private GetContainerRecipeComponent() {}
    /**
     * @return ARN of the Image Builder Component.
     * 
     */
    public String componentArn() {
        return this.componentArn;
    }
    /**
     * @return Set of parameters that are used to configure the component.
     * 
     */
    public List parameters() {
        return this.parameters;
    }

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

    public static Builder builder(GetContainerRecipeComponent defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String componentArn;
        private List parameters;
        public Builder() {}
        public Builder(GetContainerRecipeComponent 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("GetContainerRecipeComponent", "componentArn");
            }
            this.componentArn = componentArn;
            return this;
        }
        @CustomType.Setter
        public Builder parameters(List parameters) {
            if (parameters == null) {
              throw new MissingRequiredPropertyException("GetContainerRecipeComponent", "parameters");
            }
            this.parameters = parameters;
            return this;
        }
        public Builder parameters(GetContainerRecipeComponentParameter... parameters) {
            return parameters(List.of(parameters));
        }
        public GetContainerRecipeComponent build() {
            final var _resultValue = new GetContainerRecipeComponent();
            _resultValue.componentArn = componentArn;
            _resultValue.parameters = parameters;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy