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

com.pulumi.azurenative.policyinsights.inputs.GetAttestationAtResourcePlainArgs Maven / Gradle / Ivy

There is a newer version: 2.72.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.policyinsights.inputs;

import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;


public final class GetAttestationAtResourcePlainArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetAttestationAtResourcePlainArgs Empty = new GetAttestationAtResourcePlainArgs();

    /**
     * The name of the attestation.
     * 
     */
    @Import(name="attestationName", required=true)
    private String attestationName;

    /**
     * @return The name of the attestation.
     * 
     */
    public String attestationName() {
        return this.attestationName;
    }

    /**
     * Resource ID.
     * 
     */
    @Import(name="resourceId", required=true)
    private String resourceId;

    /**
     * @return Resource ID.
     * 
     */
    public String resourceId() {
        return this.resourceId;
    }

    private GetAttestationAtResourcePlainArgs() {}

    private GetAttestationAtResourcePlainArgs(GetAttestationAtResourcePlainArgs $) {
        this.attestationName = $.attestationName;
        this.resourceId = $.resourceId;
    }

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

    public static final class Builder {
        private GetAttestationAtResourcePlainArgs $;

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

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

        /**
         * @param attestationName The name of the attestation.
         * 
         * @return builder
         * 
         */
        public Builder attestationName(String attestationName) {
            $.attestationName = attestationName;
            return this;
        }

        /**
         * @param resourceId Resource ID.
         * 
         * @return builder
         * 
         */
        public Builder resourceId(String resourceId) {
            $.resourceId = resourceId;
            return this;
        }

        public GetAttestationAtResourcePlainArgs build() {
            if ($.attestationName == null) {
                throw new MissingRequiredPropertyException("GetAttestationAtResourcePlainArgs", "attestationName");
            }
            if ($.resourceId == null) {
                throw new MissingRequiredPropertyException("GetAttestationAtResourcePlainArgs", "resourceId");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy