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

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

There is a newer version: 2.78.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.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class ContentHashResponse {
    /**
     * @return The algorithm of the content hash.
     * 
     */
    private @Nullable String algorithm;
    /**
     * @return The value of the content hash.
     * 
     */
    private @Nullable String value;

    private ContentHashResponse() {}
    /**
     * @return The algorithm of the content hash.
     * 
     */
    public Optional algorithm() {
        return Optional.ofNullable(this.algorithm);
    }
    /**
     * @return The value of the content hash.
     * 
     */
    public Optional value() {
        return Optional.ofNullable(this.value);
    }

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

    public static Builder builder(ContentHashResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String algorithm;
        private @Nullable String value;
        public Builder() {}
        public Builder(ContentHashResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.algorithm = defaults.algorithm;
    	      this.value = defaults.value;
        }

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

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

            this.value = value;
            return this;
        }
        public ContentHashResponse build() {
            final var _resultValue = new ContentHashResponse();
            _resultValue.algorithm = algorithm;
            _resultValue.value = value;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy