com.pulumi.alicloud.dns.outputs.GetAlidnsDomainsResult 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.dns.outputs;
import com.pulumi.alicloud.dns.outputs.GetAlidnsDomainsDomain;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class GetAlidnsDomainsResult {
/**
* @return Indicates whether the domain is an Alibaba Cloud domain.
*
*/
private @Nullable Boolean aliDomain;
private @Nullable String domainNameRegex;
/**
* @return A list of domains. Each element contains the following attributes:
*
*/
private List domains;
private @Nullable Boolean enableDetails;
/**
* @return Id of group that contains the domain.
*
*/
private @Nullable String groupId;
private @Nullable String groupNameRegex;
/**
* @return The provider-assigned unique ID for this managed resource.
*
*/
private String id;
/**
* @return A list of domain IDs.
*
*/
private List ids;
/**
* @return Cloud analysis product ID of the domain.
*
*/
private @Nullable String instanceId;
private @Nullable String keyWord;
private @Nullable String lang;
/**
* @return A list of domain names.
*
*/
private List names;
private @Nullable String outputFile;
/**
* @return The Id of resource group which the dns belongs.
*
*/
private @Nullable String resourceGroupId;
private @Nullable String searchMode;
private @Nullable Boolean starmark;
private @Nullable Map tags;
/**
* @return Cloud resolution version ID.
*
*/
private @Nullable String versionCode;
private GetAlidnsDomainsResult() {}
/**
* @return Indicates whether the domain is an Alibaba Cloud domain.
*
*/
public Optional aliDomain() {
return Optional.ofNullable(this.aliDomain);
}
public Optional domainNameRegex() {
return Optional.ofNullable(this.domainNameRegex);
}
/**
* @return A list of domains. Each element contains the following attributes:
*
*/
public List domains() {
return this.domains;
}
public Optional enableDetails() {
return Optional.ofNullable(this.enableDetails);
}
/**
* @return Id of group that contains the domain.
*
*/
public Optional groupId() {
return Optional.ofNullable(this.groupId);
}
public Optional groupNameRegex() {
return Optional.ofNullable(this.groupNameRegex);
}
/**
* @return The provider-assigned unique ID for this managed resource.
*
*/
public String id() {
return this.id;
}
/**
* @return A list of domain IDs.
*
*/
public List ids() {
return this.ids;
}
/**
* @return Cloud analysis product ID of the domain.
*
*/
public Optional instanceId() {
return Optional.ofNullable(this.instanceId);
}
public Optional keyWord() {
return Optional.ofNullable(this.keyWord);
}
public Optional lang() {
return Optional.ofNullable(this.lang);
}
/**
* @return A list of domain names.
*
*/
public List names() {
return this.names;
}
public Optional outputFile() {
return Optional.ofNullable(this.outputFile);
}
/**
* @return The Id of resource group which the dns belongs.
*
*/
public Optional resourceGroupId() {
return Optional.ofNullable(this.resourceGroupId);
}
public Optional searchMode() {
return Optional.ofNullable(this.searchMode);
}
public Optional starmark() {
return Optional.ofNullable(this.starmark);
}
public Map tags() {
return this.tags == null ? Map.of() : this.tags;
}
/**
* @return Cloud resolution version ID.
*
*/
public Optional versionCode() {
return Optional.ofNullable(this.versionCode);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetAlidnsDomainsResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable Boolean aliDomain;
private @Nullable String domainNameRegex;
private List domains;
private @Nullable Boolean enableDetails;
private @Nullable String groupId;
private @Nullable String groupNameRegex;
private String id;
private List ids;
private @Nullable String instanceId;
private @Nullable String keyWord;
private @Nullable String lang;
private List names;
private @Nullable String outputFile;
private @Nullable String resourceGroupId;
private @Nullable String searchMode;
private @Nullable Boolean starmark;
private @Nullable Map tags;
private @Nullable String versionCode;
public Builder() {}
public Builder(GetAlidnsDomainsResult defaults) {
Objects.requireNonNull(defaults);
this.aliDomain = defaults.aliDomain;
this.domainNameRegex = defaults.domainNameRegex;
this.domains = defaults.domains;
this.enableDetails = defaults.enableDetails;
this.groupId = defaults.groupId;
this.groupNameRegex = defaults.groupNameRegex;
this.id = defaults.id;
this.ids = defaults.ids;
this.instanceId = defaults.instanceId;
this.keyWord = defaults.keyWord;
this.lang = defaults.lang;
this.names = defaults.names;
this.outputFile = defaults.outputFile;
this.resourceGroupId = defaults.resourceGroupId;
this.searchMode = defaults.searchMode;
this.starmark = defaults.starmark;
this.tags = defaults.tags;
this.versionCode = defaults.versionCode;
}
@CustomType.Setter
public Builder aliDomain(@Nullable Boolean aliDomain) {
this.aliDomain = aliDomain;
return this;
}
@CustomType.Setter
public Builder domainNameRegex(@Nullable String domainNameRegex) {
this.domainNameRegex = domainNameRegex;
return this;
}
@CustomType.Setter
public Builder domains(List domains) {
if (domains == null) {
throw new MissingRequiredPropertyException("GetAlidnsDomainsResult", "domains");
}
this.domains = domains;
return this;
}
public Builder domains(GetAlidnsDomainsDomain... domains) {
return domains(List.of(domains));
}
@CustomType.Setter
public Builder enableDetails(@Nullable Boolean enableDetails) {
this.enableDetails = enableDetails;
return this;
}
@CustomType.Setter
public Builder groupId(@Nullable String groupId) {
this.groupId = groupId;
return this;
}
@CustomType.Setter
public Builder groupNameRegex(@Nullable String groupNameRegex) {
this.groupNameRegex = groupNameRegex;
return this;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetAlidnsDomainsResult", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder ids(List ids) {
if (ids == null) {
throw new MissingRequiredPropertyException("GetAlidnsDomainsResult", "ids");
}
this.ids = ids;
return this;
}
public Builder ids(String... ids) {
return ids(List.of(ids));
}
@CustomType.Setter
public Builder instanceId(@Nullable String instanceId) {
this.instanceId = instanceId;
return this;
}
@CustomType.Setter
public Builder keyWord(@Nullable String keyWord) {
this.keyWord = keyWord;
return this;
}
@CustomType.Setter
public Builder lang(@Nullable String lang) {
this.lang = lang;
return this;
}
@CustomType.Setter
public Builder names(List names) {
if (names == null) {
throw new MissingRequiredPropertyException("GetAlidnsDomainsResult", "names");
}
this.names = names;
return this;
}
public Builder names(String... names) {
return names(List.of(names));
}
@CustomType.Setter
public Builder outputFile(@Nullable String outputFile) {
this.outputFile = outputFile;
return this;
}
@CustomType.Setter
public Builder resourceGroupId(@Nullable String resourceGroupId) {
this.resourceGroupId = resourceGroupId;
return this;
}
@CustomType.Setter
public Builder searchMode(@Nullable String searchMode) {
this.searchMode = searchMode;
return this;
}
@CustomType.Setter
public Builder starmark(@Nullable Boolean starmark) {
this.starmark = starmark;
return this;
}
@CustomType.Setter
public Builder tags(@Nullable Map tags) {
this.tags = tags;
return this;
}
@CustomType.Setter
public Builder versionCode(@Nullable String versionCode) {
this.versionCode = versionCode;
return this;
}
public GetAlidnsDomainsResult build() {
final var _resultValue = new GetAlidnsDomainsResult();
_resultValue.aliDomain = aliDomain;
_resultValue.domainNameRegex = domainNameRegex;
_resultValue.domains = domains;
_resultValue.enableDetails = enableDetails;
_resultValue.groupId = groupId;
_resultValue.groupNameRegex = groupNameRegex;
_resultValue.id = id;
_resultValue.ids = ids;
_resultValue.instanceId = instanceId;
_resultValue.keyWord = keyWord;
_resultValue.lang = lang;
_resultValue.names = names;
_resultValue.outputFile = outputFile;
_resultValue.resourceGroupId = resourceGroupId;
_resultValue.searchMode = searchMode;
_resultValue.starmark = starmark;
_resultValue.tags = tags;
_resultValue.versionCode = versionCode;
return _resultValue;
}
}
}