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

package com.azure.resourcemanager.confidentialledger.models;

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

/**
 * MemberIdentityCertificate
 *
 * <p>Object representing MemberIdentityCertificate for Managed CCF.
 */
@Fluent
public final class MemberIdentityCertificate {
    /*
     * Member Identity Certificate
     */
    @JsonProperty(value = "certificate")
    private String certificate;

    /*
     * Member Identity Certificate Encryption Key
     */
    @JsonProperty(value = "encryptionkey")
    private String encryptionkey;

    /*
     * Anything
     */
    @JsonProperty(value = "tags")
    private Object tags;

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

    /**
     * Get the certificate property: Member Identity Certificate.
     *
     * @return the certificate value.
     */
    public String certificate() {
        return this.certificate;
    }

    /**
     * Set the certificate property: Member Identity Certificate.
     *
     * @param certificate the certificate value to set.
     * @return the MemberIdentityCertificate object itself.
     */
    public MemberIdentityCertificate withCertificate(String certificate) {
        this.certificate = certificate;
        return this;
    }

    /**
     * Get the encryptionkey property: Member Identity Certificate Encryption Key.
     *
     * @return the encryptionkey value.
     */
    public String encryptionkey() {
        return this.encryptionkey;
    }

    /**
     * Set the encryptionkey property: Member Identity Certificate Encryption Key.
     *
     * @param encryptionkey the encryptionkey value to set.
     * @return the MemberIdentityCertificate object itself.
     */
    public MemberIdentityCertificate withEncryptionkey(String encryptionkey) {
        this.encryptionkey = encryptionkey;
        return this;
    }

    /**
     * Get the tags property: Anything.
     *
     * @return the tags value.
     */
    public Object tags() {
        return this.tags;
    }

    /**
     * Set the tags property: Anything.
     *
     * @param tags the tags value to set.
     * @return the MemberIdentityCertificate object itself.
     */
    public MemberIdentityCertificate withTags(Object tags) {
        this.tags = tags;
        return this;
    }

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