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

com.pulumi.azurenative.logic.outputs.WorkflowParameterResponse Maven / Gradle / Ivy

There is a newer version: 2.82.0
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.azurenative.logic.outputs;

import com.pulumi.core.annotations.CustomType;
import java.lang.Object;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class WorkflowParameterResponse {
    /**
     * @return The description.
     * 
     */
    private @Nullable String description;
    /**
     * @return The metadata.
     * 
     */
    private @Nullable Object metadata;
    /**
     * @return The type.
     * 
     */
    private @Nullable String type;
    /**
     * @return The value.
     * 
     */
    private @Nullable Object value;

    private WorkflowParameterResponse() {}
    /**
     * @return The description.
     * 
     */
    public Optional description() {
        return Optional.ofNullable(this.description);
    }
    /**
     * @return The metadata.
     * 
     */
    public Optional metadata() {
        return Optional.ofNullable(this.metadata);
    }
    /**
     * @return The type.
     * 
     */
    public Optional type() {
        return Optional.ofNullable(this.type);
    }
    /**
     * @return The value.
     * 
     */
    public Optional value() {
        return Optional.ofNullable(this.value);
    }

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

    public static Builder builder(WorkflowParameterResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String description;
        private @Nullable Object metadata;
        private @Nullable String type;
        private @Nullable Object value;
        public Builder() {}
        public Builder(WorkflowParameterResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.description = defaults.description;
    	      this.metadata = defaults.metadata;
    	      this.type = defaults.type;
    	      this.value = defaults.value;
        }

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

            this.description = description;
            return this;
        }
        @CustomType.Setter
        public Builder metadata(@Nullable Object metadata) {

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

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

            this.value = value;
            return this;
        }
        public WorkflowParameterResponse build() {
            final var _resultValue = new WorkflowParameterResponse();
            _resultValue.description = description;
            _resultValue.metadata = metadata;
            _resultValue.type = type;
            _resultValue.value = value;
            return _resultValue;
        }
    }
}