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

com.pulumi.vault.transform.outputs.GetEncodeResult Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing HashiCorp Vault cloud resources.

There is a newer version: 6.5.0-alpha.1732775348
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.vault.transform.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class GetEncodeResult {
    private @Nullable List> batchInputs;
    private List> batchResults;
    private String encodedValue;
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    private String id;
    private @Nullable String namespace;
    private String path;
    private String roleName;
    private @Nullable String transformation;
    private @Nullable String tweak;
    private @Nullable String value;

    private GetEncodeResult() {}
    public List> batchInputs() {
        return this.batchInputs == null ? List.of() : this.batchInputs;
    }
    public List> batchResults() {
        return this.batchResults;
    }
    public String encodedValue() {
        return this.encodedValue;
    }
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    public String id() {
        return this.id;
    }
    public Optional namespace() {
        return Optional.ofNullable(this.namespace);
    }
    public String path() {
        return this.path;
    }
    public String roleName() {
        return this.roleName;
    }
    public Optional transformation() {
        return Optional.ofNullable(this.transformation);
    }
    public Optional tweak() {
        return Optional.ofNullable(this.tweak);
    }
    public Optional value() {
        return Optional.ofNullable(this.value);
    }

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

    public static Builder builder(GetEncodeResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable List> batchInputs;
        private List> batchResults;
        private String encodedValue;
        private String id;
        private @Nullable String namespace;
        private String path;
        private String roleName;
        private @Nullable String transformation;
        private @Nullable String tweak;
        private @Nullable String value;
        public Builder() {}
        public Builder(GetEncodeResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.batchInputs = defaults.batchInputs;
    	      this.batchResults = defaults.batchResults;
    	      this.encodedValue = defaults.encodedValue;
    	      this.id = defaults.id;
    	      this.namespace = defaults.namespace;
    	      this.path = defaults.path;
    	      this.roleName = defaults.roleName;
    	      this.transformation = defaults.transformation;
    	      this.tweak = defaults.tweak;
    	      this.value = defaults.value;
        }

        @CustomType.Setter
        public Builder batchInputs(@Nullable List> batchInputs) {

            this.batchInputs = batchInputs;
            return this;
        }
        @CustomType.Setter
        public Builder batchResults(List> batchResults) {
            if (batchResults == null) {
              throw new MissingRequiredPropertyException("GetEncodeResult", "batchResults");
            }
            this.batchResults = batchResults;
            return this;
        }
        @CustomType.Setter
        public Builder encodedValue(String encodedValue) {
            if (encodedValue == null) {
              throw new MissingRequiredPropertyException("GetEncodeResult", "encodedValue");
            }
            this.encodedValue = encodedValue;
            return this;
        }
        @CustomType.Setter
        public Builder id(String id) {
            if (id == null) {
              throw new MissingRequiredPropertyException("GetEncodeResult", "id");
            }
            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder namespace(@Nullable String namespace) {

            this.namespace = namespace;
            return this;
        }
        @CustomType.Setter
        public Builder path(String path) {
            if (path == null) {
              throw new MissingRequiredPropertyException("GetEncodeResult", "path");
            }
            this.path = path;
            return this;
        }
        @CustomType.Setter
        public Builder roleName(String roleName) {
            if (roleName == null) {
              throw new MissingRequiredPropertyException("GetEncodeResult", "roleName");
            }
            this.roleName = roleName;
            return this;
        }
        @CustomType.Setter
        public Builder transformation(@Nullable String transformation) {

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

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

            this.value = value;
            return this;
        }
        public GetEncodeResult build() {
            final var _resultValue = new GetEncodeResult();
            _resultValue.batchInputs = batchInputs;
            _resultValue.batchResults = batchResults;
            _resultValue.encodedValue = encodedValue;
            _resultValue.id = id;
            _resultValue.namespace = namespace;
            _resultValue.path = path;
            _resultValue.roleName = roleName;
            _resultValue.transformation = transformation;
            _resultValue.tweak = tweak;
            _resultValue.value = value;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy