com.pulumi.alicloud.dms.outputs.GetEnterpriseProxiesResult 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.dms.outputs;
import com.pulumi.alicloud.dms.outputs.GetEnterpriseProxiesProxy;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class GetEnterpriseProxiesResult {
/**
* @return The provider-assigned unique ID for this managed resource.
*
*/
private String id;
private List ids;
private @Nullable String outputFile;
private List proxies;
private @Nullable String tid;
private GetEnterpriseProxiesResult() {}
/**
* @return The provider-assigned unique ID for this managed resource.
*
*/
public String id() {
return this.id;
}
public List ids() {
return this.ids;
}
public Optional outputFile() {
return Optional.ofNullable(this.outputFile);
}
public List proxies() {
return this.proxies;
}
public Optional tid() {
return Optional.ofNullable(this.tid);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetEnterpriseProxiesResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String id;
private List ids;
private @Nullable String outputFile;
private List proxies;
private @Nullable String tid;
public Builder() {}
public Builder(GetEnterpriseProxiesResult defaults) {
Objects.requireNonNull(defaults);
this.id = defaults.id;
this.ids = defaults.ids;
this.outputFile = defaults.outputFile;
this.proxies = defaults.proxies;
this.tid = defaults.tid;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetEnterpriseProxiesResult", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder ids(List ids) {
if (ids == null) {
throw new MissingRequiredPropertyException("GetEnterpriseProxiesResult", "ids");
}
this.ids = ids;
return this;
}
public Builder ids(String... ids) {
return ids(List.of(ids));
}
@CustomType.Setter
public Builder outputFile(@Nullable String outputFile) {
this.outputFile = outputFile;
return this;
}
@CustomType.Setter
public Builder proxies(List proxies) {
if (proxies == null) {
throw new MissingRequiredPropertyException("GetEnterpriseProxiesResult", "proxies");
}
this.proxies = proxies;
return this;
}
public Builder proxies(GetEnterpriseProxiesProxy... proxies) {
return proxies(List.of(proxies));
}
@CustomType.Setter
public Builder tid(@Nullable String tid) {
this.tid = tid;
return this;
}
public GetEnterpriseProxiesResult build() {
final var _resultValue = new GetEnterpriseProxiesResult();
_resultValue.id = id;
_resultValue.ids = ids;
_resultValue.outputFile = outputFile;
_resultValue.proxies = proxies;
_resultValue.tid = tid;
return _resultValue;
}
}
}