com.pulumi.alicloud.eds.outputs.GetUsersUser Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alicloud Show documentation
Show all versions of alicloud Show documentation
A Pulumi package for creating and managing AliCloud resources.
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.alicloud.eds.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class GetUsersUser {
/**
* @return The email of the user email.
*
*/
private String email;
/**
* @return The Username. The custom setting is composed of lowercase letters, numbers and underscores, and the length is 3~24 characters.
*
*/
private String endUserId;
/**
* @return The ID of the user id.
*
*/
private String id;
/**
* @return The phone of the mobile phone number.
*
*/
private String phone;
/**
* @return The status of the resource.
*
*/
private String status;
private GetUsersUser() {}
/**
* @return The email of the user email.
*
*/
public String email() {
return this.email;
}
/**
* @return The Username. The custom setting is composed of lowercase letters, numbers and underscores, and the length is 3~24 characters.
*
*/
public String endUserId() {
return this.endUserId;
}
/**
* @return The ID of the user id.
*
*/
public String id() {
return this.id;
}
/**
* @return The phone of the mobile phone number.
*
*/
public String phone() {
return this.phone;
}
/**
* @return The status of the resource.
*
*/
public String status() {
return this.status;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetUsersUser defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String email;
private String endUserId;
private String id;
private String phone;
private String status;
public Builder() {}
public Builder(GetUsersUser defaults) {
Objects.requireNonNull(defaults);
this.email = defaults.email;
this.endUserId = defaults.endUserId;
this.id = defaults.id;
this.phone = defaults.phone;
this.status = defaults.status;
}
@CustomType.Setter
public Builder email(String email) {
if (email == null) {
throw new MissingRequiredPropertyException("GetUsersUser", "email");
}
this.email = email;
return this;
}
@CustomType.Setter
public Builder endUserId(String endUserId) {
if (endUserId == null) {
throw new MissingRequiredPropertyException("GetUsersUser", "endUserId");
}
this.endUserId = endUserId;
return this;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetUsersUser", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder phone(String phone) {
if (phone == null) {
throw new MissingRequiredPropertyException("GetUsersUser", "phone");
}
this.phone = phone;
return this;
}
@CustomType.Setter
public Builder status(String status) {
if (status == null) {
throw new MissingRequiredPropertyException("GetUsersUser", "status");
}
this.status = status;
return this;
}
public GetUsersUser build() {
final var _resultValue = new GetUsersUser();
_resultValue.email = email;
_resultValue.endUserId = endUserId;
_resultValue.id = id;
_resultValue.phone = phone;
_resultValue.status = status;
return _resultValue;
}
}
}