com.pulumi.alicloud.mse.outputs.GetEngineNamespacesNamespace 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.mse.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class GetEngineNamespacesNamespace {
/**
* @return The Number of Configuration of the Namespace.
*
*/
private Integer configCount;
/**
* @return The ID of the Engine Namespace. It is formatted to `<cluster_id>:<namespace_id>`.
*
*/
private String id;
/**
* @return The description of the Namespace.
*
*/
private String namespaceDesc;
/**
* @return The id of Namespace.
*
*/
private String namespaceId;
/**
* @return The name of the Namespace.
*
*/
private String namespaceShowName;
/**
* @return The Quota of the Namespace.
*
*/
private Integer quota;
/**
* @return The number of active services.
*
*/
private String serviceCount;
/**
* @return The type of the Namespace, the value is as follows:
* - '0': Global Configuration.
* - '1': default namespace.
* - '2': Custom Namespace.
*
*/
private Integer type;
private GetEngineNamespacesNamespace() {}
/**
* @return The Number of Configuration of the Namespace.
*
*/
public Integer configCount() {
return this.configCount;
}
/**
* @return The ID of the Engine Namespace. It is formatted to `<cluster_id>:<namespace_id>`.
*
*/
public String id() {
return this.id;
}
/**
* @return The description of the Namespace.
*
*/
public String namespaceDesc() {
return this.namespaceDesc;
}
/**
* @return The id of Namespace.
*
*/
public String namespaceId() {
return this.namespaceId;
}
/**
* @return The name of the Namespace.
*
*/
public String namespaceShowName() {
return this.namespaceShowName;
}
/**
* @return The Quota of the Namespace.
*
*/
public Integer quota() {
return this.quota;
}
/**
* @return The number of active services.
*
*/
public String serviceCount() {
return this.serviceCount;
}
/**
* @return The type of the Namespace, the value is as follows:
* - '0': Global Configuration.
* - '1': default namespace.
* - '2': Custom Namespace.
*
*/
public Integer type() {
return this.type;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetEngineNamespacesNamespace defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private Integer configCount;
private String id;
private String namespaceDesc;
private String namespaceId;
private String namespaceShowName;
private Integer quota;
private String serviceCount;
private Integer type;
public Builder() {}
public Builder(GetEngineNamespacesNamespace defaults) {
Objects.requireNonNull(defaults);
this.configCount = defaults.configCount;
this.id = defaults.id;
this.namespaceDesc = defaults.namespaceDesc;
this.namespaceId = defaults.namespaceId;
this.namespaceShowName = defaults.namespaceShowName;
this.quota = defaults.quota;
this.serviceCount = defaults.serviceCount;
this.type = defaults.type;
}
@CustomType.Setter
public Builder configCount(Integer configCount) {
if (configCount == null) {
throw new MissingRequiredPropertyException("GetEngineNamespacesNamespace", "configCount");
}
this.configCount = configCount;
return this;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetEngineNamespacesNamespace", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder namespaceDesc(String namespaceDesc) {
if (namespaceDesc == null) {
throw new MissingRequiredPropertyException("GetEngineNamespacesNamespace", "namespaceDesc");
}
this.namespaceDesc = namespaceDesc;
return this;
}
@CustomType.Setter
public Builder namespaceId(String namespaceId) {
if (namespaceId == null) {
throw new MissingRequiredPropertyException("GetEngineNamespacesNamespace", "namespaceId");
}
this.namespaceId = namespaceId;
return this;
}
@CustomType.Setter
public Builder namespaceShowName(String namespaceShowName) {
if (namespaceShowName == null) {
throw new MissingRequiredPropertyException("GetEngineNamespacesNamespace", "namespaceShowName");
}
this.namespaceShowName = namespaceShowName;
return this;
}
@CustomType.Setter
public Builder quota(Integer quota) {
if (quota == null) {
throw new MissingRequiredPropertyException("GetEngineNamespacesNamespace", "quota");
}
this.quota = quota;
return this;
}
@CustomType.Setter
public Builder serviceCount(String serviceCount) {
if (serviceCount == null) {
throw new MissingRequiredPropertyException("GetEngineNamespacesNamespace", "serviceCount");
}
this.serviceCount = serviceCount;
return this;
}
@CustomType.Setter
public Builder type(Integer type) {
if (type == null) {
throw new MissingRequiredPropertyException("GetEngineNamespacesNamespace", "type");
}
this.type = type;
return this;
}
public GetEngineNamespacesNamespace build() {
final var _resultValue = new GetEngineNamespacesNamespace();
_resultValue.configCount = configCount;
_resultValue.id = id;
_resultValue.namespaceDesc = namespaceDesc;
_resultValue.namespaceId = namespaceId;
_resultValue.namespaceShowName = namespaceShowName;
_resultValue.quota = quota;
_resultValue.serviceCount = serviceCount;
_resultValue.type = type;
return _resultValue;
}
}
}