com.azure.resourcemanager.elastic.models.UserEmailId Maven / Gradle / Ivy
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.elastic.models;
import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;
/** Email Id of the User Organization, of which the API Key must be returned. */
@Fluent
public final class UserEmailId {
/*
* The User email Id
*/
@JsonProperty(value = "emailId")
private String emailId;
/** Creates an instance of UserEmailId class. */
public UserEmailId() {
}
/**
* Get the emailId property: The User email Id.
*
* @return the emailId value.
*/
public String emailId() {
return this.emailId;
}
/**
* Set the emailId property: The User email Id.
*
* @param emailId the emailId value to set.
* @return the UserEmailId object itself.
*/
public UserEmailId withEmailId(String emailId) {
this.emailId = emailId;
return this;
}
/**
* Validates the instance.
*
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
}
}