com.pulumi.alicloud.amqp.outputs.GetVirtualHostsHost 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.amqp.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class GetVirtualHostsHost {
/**
* @return The ID of the Virtual Host.
*
*/
private String id;
/**
* @return InstanceId.
*
*/
private String instanceId;
/**
* @return VirtualHostName.
*
*/
private String virtualHostName;
private GetVirtualHostsHost() {}
/**
* @return The ID of the Virtual Host.
*
*/
public String id() {
return this.id;
}
/**
* @return InstanceId.
*
*/
public String instanceId() {
return this.instanceId;
}
/**
* @return VirtualHostName.
*
*/
public String virtualHostName() {
return this.virtualHostName;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetVirtualHostsHost defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String id;
private String instanceId;
private String virtualHostName;
public Builder() {}
public Builder(GetVirtualHostsHost defaults) {
Objects.requireNonNull(defaults);
this.id = defaults.id;
this.instanceId = defaults.instanceId;
this.virtualHostName = defaults.virtualHostName;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetVirtualHostsHost", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder instanceId(String instanceId) {
if (instanceId == null) {
throw new MissingRequiredPropertyException("GetVirtualHostsHost", "instanceId");
}
this.instanceId = instanceId;
return this;
}
@CustomType.Setter
public Builder virtualHostName(String virtualHostName) {
if (virtualHostName == null) {
throw new MissingRequiredPropertyException("GetVirtualHostsHost", "virtualHostName");
}
this.virtualHostName = virtualHostName;
return this;
}
public GetVirtualHostsHost build() {
final var _resultValue = new GetVirtualHostsHost();
_resultValue.id = id;
_resultValue.instanceId = instanceId;
_resultValue.virtualHostName = virtualHostName;
return _resultValue;
}
}
}