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

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

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


/**
 * Describes the partner that created the assessment
 * 
 */
public final class SecurityAssessmentMetadataPartnerDataArgs extends com.pulumi.resources.ResourceArgs {

    public static final SecurityAssessmentMetadataPartnerDataArgs Empty = new SecurityAssessmentMetadataPartnerDataArgs();

    /**
     * Name of the company of the partner
     * 
     */
    @Import(name="partnerName", required=true)
    private Output partnerName;

    /**
     * @return Name of the company of the partner
     * 
     */
    public Output partnerName() {
        return this.partnerName;
    }

    /**
     * Name of the product of the partner that created the assessment
     * 
     */
    @Import(name="productName")
    private @Nullable Output productName;

    /**
     * @return Name of the product of the partner that created the assessment
     * 
     */
    public Optional> productName() {
        return Optional.ofNullable(this.productName);
    }

    /**
     * Secret to authenticate the partner and verify it created the assessment - write only
     * 
     */
    @Import(name="secret", required=true)
    private Output secret;

    /**
     * @return Secret to authenticate the partner and verify it created the assessment - write only
     * 
     */
    public Output secret() {
        return this.secret;
    }

    private SecurityAssessmentMetadataPartnerDataArgs() {}

    private SecurityAssessmentMetadataPartnerDataArgs(SecurityAssessmentMetadataPartnerDataArgs $) {
        this.partnerName = $.partnerName;
        this.productName = $.productName;
        this.secret = $.secret;
    }

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

    public static final class Builder {
        private SecurityAssessmentMetadataPartnerDataArgs $;

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

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

        /**
         * @param partnerName Name of the company of the partner
         * 
         * @return builder
         * 
         */
        public Builder partnerName(Output partnerName) {
            $.partnerName = partnerName;
            return this;
        }

        /**
         * @param partnerName Name of the company of the partner
         * 
         * @return builder
         * 
         */
        public Builder partnerName(String partnerName) {
            return partnerName(Output.of(partnerName));
        }

        /**
         * @param productName Name of the product of the partner that created the assessment
         * 
         * @return builder
         * 
         */
        public Builder productName(@Nullable Output productName) {
            $.productName = productName;
            return this;
        }

        /**
         * @param productName Name of the product of the partner that created the assessment
         * 
         * @return builder
         * 
         */
        public Builder productName(String productName) {
            return productName(Output.of(productName));
        }

        /**
         * @param secret Secret to authenticate the partner and verify it created the assessment - write only
         * 
         * @return builder
         * 
         */
        public Builder secret(Output secret) {
            $.secret = secret;
            return this;
        }

        /**
         * @param secret Secret to authenticate the partner and verify it created the assessment - write only
         * 
         * @return builder
         * 
         */
        public Builder secret(String secret) {
            return secret(Output.of(secret));
        }

        public SecurityAssessmentMetadataPartnerDataArgs build() {
            if ($.partnerName == null) {
                throw new MissingRequiredPropertyException("SecurityAssessmentMetadataPartnerDataArgs", "partnerName");
            }
            if ($.secret == null) {
                throw new MissingRequiredPropertyException("SecurityAssessmentMetadataPartnerDataArgs", "secret");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy