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

com.microsoft.azure.management.sql.implementation.TransparentDataEncryptionInner Maven / Gradle / Ivy

/**
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License. See License.txt in the project root for
 * license information.
 *
 * Code generated by Microsoft (R) AutoRest Code Generator.
 */

package com.microsoft.azure.management.sql.implementation;

import com.microsoft.azure.management.sql.TransparentDataEncryptionStatus;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.microsoft.rest.serializer.JsonFlatten;
import com.microsoft.azure.ProxyResource;

/**
 * Represents a database transparent data encryption configuration.
 */
@JsonFlatten
public class TransparentDataEncryptionInner extends ProxyResource {
    /**
     * Resource location.
     */
    @JsonProperty(value = "location", access = JsonProperty.Access.WRITE_ONLY)
    private String location;

    /**
     * The status of the database transparent data encryption. Possible values
     * include: 'Enabled', 'Disabled'.
     */
    @JsonProperty(value = "properties.status")
    private TransparentDataEncryptionStatus status;

    /**
     * Get resource location.
     *
     * @return the location value
     */
    public String location() {
        return this.location;
    }

    /**
     * Get the status of the database transparent data encryption. Possible values include: 'Enabled', 'Disabled'.
     *
     * @return the status value
     */
    public TransparentDataEncryptionStatus status() {
        return this.status;
    }

    /**
     * Set the status of the database transparent data encryption. Possible values include: 'Enabled', 'Disabled'.
     *
     * @param status the status value to set
     * @return the TransparentDataEncryptionInner object itself.
     */
    public TransparentDataEncryptionInner withStatus(TransparentDataEncryptionStatus status) {
        this.status = status;
        return this;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy