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

com.pulumi.alicloud.aligreen.inputs.AuditCallbackState Maven / Gradle / Ivy

There is a newer version: 3.63.0-alpha.1727424957
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.alicloud.aligreen.inputs;

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


public final class AuditCallbackState extends com.pulumi.resources.ResourceArgs {

    public static final AuditCallbackState Empty = new AuditCallbackState();

    /**
     * The AuditCallback name defined by the customer. It can contain no more than 20 characters in Chinese, English, underscore (_), and digits.
     * 
     */
    @Import(name="auditCallbackName")
    private @Nullable Output auditCallbackName;

    /**
     * @return The AuditCallback name defined by the customer. It can contain no more than 20 characters in Chinese, English, underscore (_), and digits.
     * 
     */
    public Optional> auditCallbackName() {
        return Optional.ofNullable(this.auditCallbackName);
    }

    /**
     * List of audit results supported by message notification. Value: block: confirmed violation, review: Suspected violation, review: normal.
     * 
     */
    @Import(name="callbackSuggestions")
    private @Nullable Output> callbackSuggestions;

    /**
     * @return List of audit results supported by message notification. Value: block: confirmed violation, review: Suspected violation, review: normal.
     * 
     */
    public Optional>> callbackSuggestions() {
        return Optional.ofNullable(this.callbackSuggestions);
    }

    /**
     * A list of Callback types. Value: machineScan: Machine audit result notification, selfAudit: self-service audit notification.
     * 
     */
    @Import(name="callbackTypes")
    private @Nullable Output> callbackTypes;

    /**
     * @return A list of Callback types. Value: machineScan: Machine audit result notification, selfAudit: self-service audit notification.
     * 
     */
    public Optional>> callbackTypes() {
        return Optional.ofNullable(this.callbackTypes);
    }

    /**
     * The encryption algorithm is used to verify that the callback request is sent by the content security service to your business service. The value is SHA256:SHA256 encryption algorithm and SM3: SM3 encryption algorithm.
     * 
     */
    @Import(name="cryptType")
    private @Nullable Output cryptType;

    /**
     * @return The encryption algorithm is used to verify that the callback request is sent by the content security service to your business service. The value is SHA256:SHA256 encryption algorithm and SM3: SM3 encryption algorithm.
     * 
     */
    public Optional> cryptType() {
        return Optional.ofNullable(this.cryptType);
    }

    /**
     * The detection result will be called back to the url.
     * 
     */
    @Import(name="url")
    private @Nullable Output url;

    /**
     * @return The detection result will be called back to the url.
     * 
     */
    public Optional> url() {
        return Optional.ofNullable(this.url);
    }

    private AuditCallbackState() {}

    private AuditCallbackState(AuditCallbackState $) {
        this.auditCallbackName = $.auditCallbackName;
        this.callbackSuggestions = $.callbackSuggestions;
        this.callbackTypes = $.callbackTypes;
        this.cryptType = $.cryptType;
        this.url = $.url;
    }

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

    public static final class Builder {
        private AuditCallbackState $;

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

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

        /**
         * @param auditCallbackName The AuditCallback name defined by the customer. It can contain no more than 20 characters in Chinese, English, underscore (_), and digits.
         * 
         * @return builder
         * 
         */
        public Builder auditCallbackName(@Nullable Output auditCallbackName) {
            $.auditCallbackName = auditCallbackName;
            return this;
        }

        /**
         * @param auditCallbackName The AuditCallback name defined by the customer. It can contain no more than 20 characters in Chinese, English, underscore (_), and digits.
         * 
         * @return builder
         * 
         */
        public Builder auditCallbackName(String auditCallbackName) {
            return auditCallbackName(Output.of(auditCallbackName));
        }

        /**
         * @param callbackSuggestions List of audit results supported by message notification. Value: block: confirmed violation, review: Suspected violation, review: normal.
         * 
         * @return builder
         * 
         */
        public Builder callbackSuggestions(@Nullable Output> callbackSuggestions) {
            $.callbackSuggestions = callbackSuggestions;
            return this;
        }

        /**
         * @param callbackSuggestions List of audit results supported by message notification. Value: block: confirmed violation, review: Suspected violation, review: normal.
         * 
         * @return builder
         * 
         */
        public Builder callbackSuggestions(List callbackSuggestions) {
            return callbackSuggestions(Output.of(callbackSuggestions));
        }

        /**
         * @param callbackSuggestions List of audit results supported by message notification. Value: block: confirmed violation, review: Suspected violation, review: normal.
         * 
         * @return builder
         * 
         */
        public Builder callbackSuggestions(String... callbackSuggestions) {
            return callbackSuggestions(List.of(callbackSuggestions));
        }

        /**
         * @param callbackTypes A list of Callback types. Value: machineScan: Machine audit result notification, selfAudit: self-service audit notification.
         * 
         * @return builder
         * 
         */
        public Builder callbackTypes(@Nullable Output> callbackTypes) {
            $.callbackTypes = callbackTypes;
            return this;
        }

        /**
         * @param callbackTypes A list of Callback types. Value: machineScan: Machine audit result notification, selfAudit: self-service audit notification.
         * 
         * @return builder
         * 
         */
        public Builder callbackTypes(List callbackTypes) {
            return callbackTypes(Output.of(callbackTypes));
        }

        /**
         * @param callbackTypes A list of Callback types. Value: machineScan: Machine audit result notification, selfAudit: self-service audit notification.
         * 
         * @return builder
         * 
         */
        public Builder callbackTypes(String... callbackTypes) {
            return callbackTypes(List.of(callbackTypes));
        }

        /**
         * @param cryptType The encryption algorithm is used to verify that the callback request is sent by the content security service to your business service. The value is SHA256:SHA256 encryption algorithm and SM3: SM3 encryption algorithm.
         * 
         * @return builder
         * 
         */
        public Builder cryptType(@Nullable Output cryptType) {
            $.cryptType = cryptType;
            return this;
        }

        /**
         * @param cryptType The encryption algorithm is used to verify that the callback request is sent by the content security service to your business service. The value is SHA256:SHA256 encryption algorithm and SM3: SM3 encryption algorithm.
         * 
         * @return builder
         * 
         */
        public Builder cryptType(String cryptType) {
            return cryptType(Output.of(cryptType));
        }

        /**
         * @param url The detection result will be called back to the url.
         * 
         * @return builder
         * 
         */
        public Builder url(@Nullable Output url) {
            $.url = url;
            return this;
        }

        /**
         * @param url The detection result will be called back to the url.
         * 
         * @return builder
         * 
         */
        public Builder url(String url) {
            return url(Output.of(url));
        }

        public AuditCallbackState build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy