
com.pulumi.azurenative.confluent.outputs.GetOrganizationResult Maven / Gradle / Ivy
// *** 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.OfferDetailResponse;
import com.pulumi.azurenative.confluent.outputs.SystemDataResponse;
import com.pulumi.azurenative.confluent.outputs.UserDetailResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class GetOrganizationResult {
/**
* @return The creation time of the resource.
*
*/
private String createdTime;
/**
* @return The ARM id of the resource.
*
*/
private String id;
/**
* @return Location of Organization resource
*
*/
private @Nullable String location;
/**
* @return The name of the resource.
*
*/
private String name;
/**
* @return Confluent offer detail
*
*/
private OfferDetailResponse offerDetail;
/**
* @return Id of the Confluent organization.
*
*/
private String organizationId;
/**
* @return Provision states for confluent RP
*
*/
private String provisioningState;
/**
* @return SSO url for the Confluent organization.
*
*/
private String ssoUrl;
/**
* @return Metadata pertaining to creation and last modification of the resource
*
*/
private SystemDataResponse systemData;
/**
* @return Organization resource tags
*
*/
private @Nullable Map tags;
/**
* @return The type of the resource.
*
*/
private String type;
/**
* @return Subscriber detail
*
*/
private UserDetailResponse userDetail;
private GetOrganizationResult() {}
/**
* @return The creation time of the resource.
*
*/
public String createdTime() {
return this.createdTime;
}
/**
* @return The ARM id of the resource.
*
*/
public String id() {
return this.id;
}
/**
* @return Location of Organization resource
*
*/
public Optional location() {
return Optional.ofNullable(this.location);
}
/**
* @return The name of the resource.
*
*/
public String name() {
return this.name;
}
/**
* @return Confluent offer detail
*
*/
public OfferDetailResponse offerDetail() {
return this.offerDetail;
}
/**
* @return Id of the Confluent organization.
*
*/
public String organizationId() {
return this.organizationId;
}
/**
* @return Provision states for confluent RP
*
*/
public String provisioningState() {
return this.provisioningState;
}
/**
* @return SSO url for the Confluent organization.
*
*/
public String ssoUrl() {
return this.ssoUrl;
}
/**
* @return Metadata pertaining to creation and last modification of the resource
*
*/
public SystemDataResponse systemData() {
return this.systemData;
}
/**
* @return Organization resource tags
*
*/
public Map tags() {
return this.tags == null ? Map.of() : this.tags;
}
/**
* @return The type of the resource.
*
*/
public String type() {
return this.type;
}
/**
* @return Subscriber detail
*
*/
public UserDetailResponse userDetail() {
return this.userDetail;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetOrganizationResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String createdTime;
private String id;
private @Nullable String location;
private String name;
private OfferDetailResponse offerDetail;
private String organizationId;
private String provisioningState;
private String ssoUrl;
private SystemDataResponse systemData;
private @Nullable Map tags;
private String type;
private UserDetailResponse userDetail;
public Builder() {}
public Builder(GetOrganizationResult defaults) {
Objects.requireNonNull(defaults);
this.createdTime = defaults.createdTime;
this.id = defaults.id;
this.location = defaults.location;
this.name = defaults.name;
this.offerDetail = defaults.offerDetail;
this.organizationId = defaults.organizationId;
this.provisioningState = defaults.provisioningState;
this.ssoUrl = defaults.ssoUrl;
this.systemData = defaults.systemData;
this.tags = defaults.tags;
this.type = defaults.type;
this.userDetail = defaults.userDetail;
}
@CustomType.Setter
public Builder createdTime(String createdTime) {
if (createdTime == null) {
throw new MissingRequiredPropertyException("GetOrganizationResult", "createdTime");
}
this.createdTime = createdTime;
return this;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetOrganizationResult", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder location(@Nullable String location) {
this.location = location;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("GetOrganizationResult", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder offerDetail(OfferDetailResponse offerDetail) {
if (offerDetail == null) {
throw new MissingRequiredPropertyException("GetOrganizationResult", "offerDetail");
}
this.offerDetail = offerDetail;
return this;
}
@CustomType.Setter
public Builder organizationId(String organizationId) {
if (organizationId == null) {
throw new MissingRequiredPropertyException("GetOrganizationResult", "organizationId");
}
this.organizationId = organizationId;
return this;
}
@CustomType.Setter
public Builder provisioningState(String provisioningState) {
if (provisioningState == null) {
throw new MissingRequiredPropertyException("GetOrganizationResult", "provisioningState");
}
this.provisioningState = provisioningState;
return this;
}
@CustomType.Setter
public Builder ssoUrl(String ssoUrl) {
if (ssoUrl == null) {
throw new MissingRequiredPropertyException("GetOrganizationResult", "ssoUrl");
}
this.ssoUrl = ssoUrl;
return this;
}
@CustomType.Setter
public Builder systemData(SystemDataResponse systemData) {
if (systemData == null) {
throw new MissingRequiredPropertyException("GetOrganizationResult", "systemData");
}
this.systemData = systemData;
return this;
}
@CustomType.Setter
public Builder tags(@Nullable Map tags) {
this.tags = tags;
return this;
}
@CustomType.Setter
public Builder type(String type) {
if (type == null) {
throw new MissingRequiredPropertyException("GetOrganizationResult", "type");
}
this.type = type;
return this;
}
@CustomType.Setter
public Builder userDetail(UserDetailResponse userDetail) {
if (userDetail == null) {
throw new MissingRequiredPropertyException("GetOrganizationResult", "userDetail");
}
this.userDetail = userDetail;
return this;
}
public GetOrganizationResult build() {
final var _resultValue = new GetOrganizationResult();
_resultValue.createdTime = createdTime;
_resultValue.id = id;
_resultValue.location = location;
_resultValue.name = name;
_resultValue.offerDetail = offerDetail;
_resultValue.organizationId = organizationId;
_resultValue.provisioningState = provisioningState;
_resultValue.ssoUrl = ssoUrl;
_resultValue.systemData = systemData;
_resultValue.tags = tags;
_resultValue.type = type;
_resultValue.userDetail = userDetail;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy