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

com.microsoft.azure.keyvault.models.SubjectAlternativeNames Maven / Gradle / Ivy

There is a newer version: 1.2.6
Show newest version
/**
 * 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.keyvault.models;

import java.util.List;
import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * The subject alternate names of a X509 object.
 */
public class SubjectAlternativeNames {
    /**
     * Email addresses.
     */
    @JsonProperty(value = "emails")
    private List emails;

    /**
     * Domain names.
     */
    @JsonProperty(value = "dns_names")
    private List dnsNames;

    /**
     * User principal names.
     */
    @JsonProperty(value = "upns")
    private List upns;

    /**
     * Get the emails value.
     *
     * @return the emails value
     */
    public List emails() {
        return this.emails;
    }

    /**
     * Set the emails value.
     *
     * @param emails the emails value to set
     * @return the SubjectAlternativeNames object itself.
     */
    public SubjectAlternativeNames withEmails(List emails) {
        this.emails = emails;
        return this;
    }

    /**
     * Get the dnsNames value.
     *
     * @return the dnsNames value
     */
    public List dnsNames() {
        return this.dnsNames;
    }

    /**
     * Set the dnsNames value.
     *
     * @param dnsNames the dnsNames value to set
     * @return the SubjectAlternativeNames object itself.
     */
    public SubjectAlternativeNames withDnsNames(List dnsNames) {
        this.dnsNames = dnsNames;
        return this;
    }

    /**
     * Get the upns value.
     *
     * @return the upns value
     */
    public List upns() {
        return this.upns;
    }

    /**
     * Set the upns value.
     *
     * @param upns the upns value to set
     * @return the SubjectAlternativeNames object itself.
     */
    public SubjectAlternativeNames withUpns(List upns) {
        this.upns = upns;
        return this;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy