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

com.azure.messaging.eventgrid.systemevents.DeviceTwinInfoX509Thumbprint Maven / Gradle / Ivy

There is a newer version: 4.27.0
Show newest version
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.messaging.eventgrid.systemevents;

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

/**
 * The thumbprint is a unique value for the x509 certificate, commonly used to find a particular certificate in a
 * certificate store. The thumbprint is dynamically generated using the SHA1 algorithm, and does not physically exist in
 * the certificate.
 */
@Fluent
public final class DeviceTwinInfoX509Thumbprint {
    /*
     * Primary thumbprint for the x509 certificate.
     */
    @JsonProperty(value = "primaryThumbprint")
    private String primaryThumbprint;

    /*
     * Secondary thumbprint for the x509 certificate.
     */
    @JsonProperty(value = "secondaryThumbprint")
    private String secondaryThumbprint;

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

    /**
     * Get the primaryThumbprint property: Primary thumbprint for the x509 certificate.
     *
     * @return the primaryThumbprint value.
     */
    public String getPrimaryThumbprint() {
        return this.primaryThumbprint;
    }

    /**
     * Set the primaryThumbprint property: Primary thumbprint for the x509 certificate.
     *
     * @param primaryThumbprint the primaryThumbprint value to set.
     * @return the DeviceTwinInfoX509Thumbprint object itself.
     */
    public DeviceTwinInfoX509Thumbprint setPrimaryThumbprint(String primaryThumbprint) {
        this.primaryThumbprint = primaryThumbprint;
        return this;
    }

    /**
     * Get the secondaryThumbprint property: Secondary thumbprint for the x509 certificate.
     *
     * @return the secondaryThumbprint value.
     */
    public String getSecondaryThumbprint() {
        return this.secondaryThumbprint;
    }

    /**
     * Set the secondaryThumbprint property: Secondary thumbprint for the x509 certificate.
     *
     * @param secondaryThumbprint the secondaryThumbprint value to set.
     * @return the DeviceTwinInfoX509Thumbprint object itself.
     */
    public DeviceTwinInfoX509Thumbprint setSecondaryThumbprint(String secondaryThumbprint) {
        this.secondaryThumbprint = secondaryThumbprint;
        return this;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy