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

com.google.api.services.privateca.v1.model.SubjectAltNames Maven / Gradle / Ivy

/*
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
 * in compliance with the License. You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software distributed under the License
 * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
 * or implied. See the License for the specific language governing permissions and limitations under
 * the License.
 */
/*
 * This code was generated by https://github.com/googleapis/google-api-java-client-services/
 * Modify at your own risk.
 */

package com.google.api.services.privateca.v1.model;

/**
 * SubjectAltNames corresponds to a more modern way of listing what the asserted identity is in a
 * certificate (i.e., compared to the "common name" in the distinguished name).
 *
 * 

This is the Java data model class that specifies how to parse/serialize into the JSON that is * transmitted over HTTP when working with the Certificate Authority API. For a detailed explanation * see: * https://developers.google.com/api-client-library/java/google-http-java-client/json *

* * @author Google, Inc. */ @SuppressWarnings("javadoc") public final class SubjectAltNames extends com.google.api.client.json.GenericJson { /** * Contains additional subject alternative name values. For each custom_san, the `value` field * must contain an ASN.1 encoded UTF8String. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List customSans; /** * Contains only valid, fully-qualified host names. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List dnsNames; /** * Contains only valid RFC 2822 E-mail addresses. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List emailAddresses; /** * Contains only valid 32-bit IPv4 addresses or RFC 4291 IPv6 addresses. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List ipAddresses; /** * Contains only valid RFC 3986 URIs. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List uris; /** * Contains additional subject alternative name values. For each custom_san, the `value` field * must contain an ASN.1 encoded UTF8String. * @return value or {@code null} for none */ public java.util.List getCustomSans() { return customSans; } /** * Contains additional subject alternative name values. For each custom_san, the `value` field * must contain an ASN.1 encoded UTF8String. * @param customSans customSans or {@code null} for none */ public SubjectAltNames setCustomSans(java.util.List customSans) { this.customSans = customSans; return this; } /** * Contains only valid, fully-qualified host names. * @return value or {@code null} for none */ public java.util.List getDnsNames() { return dnsNames; } /** * Contains only valid, fully-qualified host names. * @param dnsNames dnsNames or {@code null} for none */ public SubjectAltNames setDnsNames(java.util.List dnsNames) { this.dnsNames = dnsNames; return this; } /** * Contains only valid RFC 2822 E-mail addresses. * @return value or {@code null} for none */ public java.util.List getEmailAddresses() { return emailAddresses; } /** * Contains only valid RFC 2822 E-mail addresses. * @param emailAddresses emailAddresses or {@code null} for none */ public SubjectAltNames setEmailAddresses(java.util.List emailAddresses) { this.emailAddresses = emailAddresses; return this; } /** * Contains only valid 32-bit IPv4 addresses or RFC 4291 IPv6 addresses. * @return value or {@code null} for none */ public java.util.List getIpAddresses() { return ipAddresses; } /** * Contains only valid 32-bit IPv4 addresses or RFC 4291 IPv6 addresses. * @param ipAddresses ipAddresses or {@code null} for none */ public SubjectAltNames setIpAddresses(java.util.List ipAddresses) { this.ipAddresses = ipAddresses; return this; } /** * Contains only valid RFC 3986 URIs. * @return value or {@code null} for none */ public java.util.List getUris() { return uris; } /** * Contains only valid RFC 3986 URIs. * @param uris uris or {@code null} for none */ public SubjectAltNames setUris(java.util.List uris) { this.uris = uris; return this; } @Override public SubjectAltNames set(String fieldName, Object value) { return (SubjectAltNames) super.set(fieldName, value); } @Override public SubjectAltNames clone() { return (SubjectAltNames) super.clone(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy