// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.resourcemanager.eventgrid.fluent.models;

import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;

/** Properties of static delivery attribute mapping. */
@Fluent
public final class StaticDeliveryAttributeMappingProperties {
    /*
     * Value of the delivery attribute.
     */
    @JsonProperty(value = "value")
    private String value;

    /*
     * Boolean flag to tell if the attribute contains sensitive information .
     */
    @JsonProperty(value = "isSecret")
    private Boolean isSecret;

    /** Creates an instance of StaticDeliveryAttributeMappingProperties class. */
    public StaticDeliveryAttributeMappingProperties() {
    }

    /**
     * Get the value property: Value of the delivery attribute.
     *
     * @return the value value.
     */
    public String value() {
        return this.value;
    }

    /**
     * Set the value property: Value of the delivery attribute.
     *
     * @param value the value value to set.
     * @return the StaticDeliveryAttributeMappingProperties object itself.
     */
    public StaticDeliveryAttributeMappingProperties withValue(String value) {
        this.value = value;
        return this;
    }

    /**
     * Get the isSecret property: Boolean flag to tell if the attribute contains sensitive information .
     *
     * @return the isSecret value.
     */
    public Boolean isSecret() {
        return this.isSecret;
    }

    /**
     * Set the isSecret property: Boolean flag to tell if the attribute contains sensitive information .
     *
     * @param isSecret the isSecret value to set.
     * @return the StaticDeliveryAttributeMappingProperties object itself.
     */
    public StaticDeliveryAttributeMappingProperties withIsSecret(Boolean isSecret) {
        this.isSecret = isSecret;
        return this;
    }

    /**
     * Validates the instance.
     *
     * @throws IllegalArgumentException thrown if the instance is not valid.
     */
    public void validate() {
    }
}
