com.pulumi.alicloud.ots.outputs.GetInstanceAttachmentsAttachment 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.ots.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class GetInstanceAttachmentsAttachment {
/**
* @return The domain of the instance attachment.
*
*/
private String domain;
/**
* @return The access endpoint of the instance attachment.
*
*/
private String endpoint;
/**
* @return The resource ID, the value is same as "instance_name".
*
*/
private String id;
/**
* @return The name of OTS instance.
*
*/
private String instanceName;
/**
* @return The region of the instance attachment.
*
*/
private String region;
/**
* @return The ID of attaching VPC to instance.
*
*/
private String vpcId;
/**
* @return The name of attaching VPC to instance.
*
*/
private String vpcName;
private GetInstanceAttachmentsAttachment() {}
/**
* @return The domain of the instance attachment.
*
*/
public String domain() {
return this.domain;
}
/**
* @return The access endpoint of the instance attachment.
*
*/
public String endpoint() {
return this.endpoint;
}
/**
* @return The resource ID, the value is same as "instance_name".
*
*/
public String id() {
return this.id;
}
/**
* @return The name of OTS instance.
*
*/
public String instanceName() {
return this.instanceName;
}
/**
* @return The region of the instance attachment.
*
*/
public String region() {
return this.region;
}
/**
* @return The ID of attaching VPC to instance.
*
*/
public String vpcId() {
return this.vpcId;
}
/**
* @return The name of attaching VPC to instance.
*
*/
public String vpcName() {
return this.vpcName;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetInstanceAttachmentsAttachment defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String domain;
private String endpoint;
private String id;
private String instanceName;
private String region;
private String vpcId;
private String vpcName;
public Builder() {}
public Builder(GetInstanceAttachmentsAttachment defaults) {
Objects.requireNonNull(defaults);
this.domain = defaults.domain;
this.endpoint = defaults.endpoint;
this.id = defaults.id;
this.instanceName = defaults.instanceName;
this.region = defaults.region;
this.vpcId = defaults.vpcId;
this.vpcName = defaults.vpcName;
}
@CustomType.Setter
public Builder domain(String domain) {
if (domain == null) {
throw new MissingRequiredPropertyException("GetInstanceAttachmentsAttachment", "domain");
}
this.domain = domain;
return this;
}
@CustomType.Setter
public Builder endpoint(String endpoint) {
if (endpoint == null) {
throw new MissingRequiredPropertyException("GetInstanceAttachmentsAttachment", "endpoint");
}
this.endpoint = endpoint;
return this;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetInstanceAttachmentsAttachment", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder instanceName(String instanceName) {
if (instanceName == null) {
throw new MissingRequiredPropertyException("GetInstanceAttachmentsAttachment", "instanceName");
}
this.instanceName = instanceName;
return this;
}
@CustomType.Setter
public Builder region(String region) {
if (region == null) {
throw new MissingRequiredPropertyException("GetInstanceAttachmentsAttachment", "region");
}
this.region = region;
return this;
}
@CustomType.Setter
public Builder vpcId(String vpcId) {
if (vpcId == null) {
throw new MissingRequiredPropertyException("GetInstanceAttachmentsAttachment", "vpcId");
}
this.vpcId = vpcId;
return this;
}
@CustomType.Setter
public Builder vpcName(String vpcName) {
if (vpcName == null) {
throw new MissingRequiredPropertyException("GetInstanceAttachmentsAttachment", "vpcName");
}
this.vpcName = vpcName;
return this;
}
public GetInstanceAttachmentsAttachment build() {
final var _resultValue = new GetInstanceAttachmentsAttachment();
_resultValue.domain = domain;
_resultValue.endpoint = endpoint;
_resultValue.id = id;
_resultValue.instanceName = instanceName;
_resultValue.region = region;
_resultValue.vpcId = vpcId;
_resultValue.vpcName = vpcName;
return _resultValue;
}
}
}