com.pulumi.azurenative.confluent.outputs.UserRecordResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure 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.azurenative.confluent.outputs;
import com.pulumi.azurenative.confluent.outputs.MetadataEntityResponse;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class UserRecordResponse {
/**
* @return Auth type of the user
*
*/
private @Nullable String authType;
/**
* @return Email of the user
*
*/
private @Nullable String email;
/**
* @return Name of the user
*
*/
private @Nullable String fullName;
/**
* @return Id of the user
*
*/
private @Nullable String id;
/**
* @return Type of account
*
*/
private @Nullable String kind;
/**
* @return Metadata of the record
*
*/
private @Nullable MetadataEntityResponse metadata;
private UserRecordResponse() {}
/**
* @return Auth type of the user
*
*/
public Optional authType() {
return Optional.ofNullable(this.authType);
}
/**
* @return Email of the user
*
*/
public Optional email() {
return Optional.ofNullable(this.email);
}
/**
* @return Name of the user
*
*/
public Optional fullName() {
return Optional.ofNullable(this.fullName);
}
/**
* @return Id of the user
*
*/
public Optional id() {
return Optional.ofNullable(this.id);
}
/**
* @return Type of account
*
*/
public Optional kind() {
return Optional.ofNullable(this.kind);
}
/**
* @return Metadata of the record
*
*/
public Optional metadata() {
return Optional.ofNullable(this.metadata);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(UserRecordResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String authType;
private @Nullable String email;
private @Nullable String fullName;
private @Nullable String id;
private @Nullable String kind;
private @Nullable MetadataEntityResponse metadata;
public Builder() {}
public Builder(UserRecordResponse defaults) {
Objects.requireNonNull(defaults);
this.authType = defaults.authType;
this.email = defaults.email;
this.fullName = defaults.fullName;
this.id = defaults.id;
this.kind = defaults.kind;
this.metadata = defaults.metadata;
}
@CustomType.Setter
public Builder authType(@Nullable String authType) {
this.authType = authType;
return this;
}
@CustomType.Setter
public Builder email(@Nullable String email) {
this.email = email;
return this;
}
@CustomType.Setter
public Builder fullName(@Nullable String fullName) {
this.fullName = fullName;
return this;
}
@CustomType.Setter
public Builder id(@Nullable String id) {
this.id = id;
return this;
}
@CustomType.Setter
public Builder kind(@Nullable String kind) {
this.kind = kind;
return this;
}
@CustomType.Setter
public Builder metadata(@Nullable MetadataEntityResponse metadata) {
this.metadata = metadata;
return this;
}
public UserRecordResponse build() {
final var _resultValue = new UserRecordResponse();
_resultValue.authType = authType;
_resultValue.email = email;
_resultValue.fullName = fullName;
_resultValue.id = id;
_resultValue.kind = kind;
_resultValue.metadata = metadata;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy