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

com.pulumi.azurenative.security.inputs.AttestationEvidenceArgs 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.security.inputs;

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


/**
 * Describe the properties of a assignment attestation
 * 
 */
public final class AttestationEvidenceArgs extends com.pulumi.resources.ResourceArgs {

    public static final AttestationEvidenceArgs Empty = new AttestationEvidenceArgs();

    /**
     * The description of the evidence
     * 
     */
    @Import(name="description")
    private @Nullable Output description;

    /**
     * @return The description of the evidence
     * 
     */
    public Optional> description() {
        return Optional.ofNullable(this.description);
    }

    /**
     * The source url of the evidence
     * 
     */
    @Import(name="sourceUrl")
    private @Nullable Output sourceUrl;

    /**
     * @return The source url of the evidence
     * 
     */
    public Optional> sourceUrl() {
        return Optional.ofNullable(this.sourceUrl);
    }

    private AttestationEvidenceArgs() {}

    private AttestationEvidenceArgs(AttestationEvidenceArgs $) {
        this.description = $.description;
        this.sourceUrl = $.sourceUrl;
    }

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

    public static final class Builder {
        private AttestationEvidenceArgs $;

        public Builder() {
            $ = new AttestationEvidenceArgs();
        }

        public Builder(AttestationEvidenceArgs defaults) {
            $ = new AttestationEvidenceArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param description The description of the evidence
         * 
         * @return builder
         * 
         */
        public Builder description(@Nullable Output description) {
            $.description = description;
            return this;
        }

        /**
         * @param description The description of the evidence
         * 
         * @return builder
         * 
         */
        public Builder description(String description) {
            return description(Output.of(description));
        }

        /**
         * @param sourceUrl The source url of the evidence
         * 
         * @return builder
         * 
         */
        public Builder sourceUrl(@Nullable Output sourceUrl) {
            $.sourceUrl = sourceUrl;
            return this;
        }

        /**
         * @param sourceUrl The source url of the evidence
         * 
         * @return builder
         * 
         */
        public Builder sourceUrl(String sourceUrl) {
            return sourceUrl(Output.of(sourceUrl));
        }

        public AttestationEvidenceArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy