com.pulumi.alicloud.cloudstoragegateway.outputs.GetGatewaysGateway 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.cloudstoragegateway.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class GetGatewaysGateway {
/**
* @return gateway .
*
*/
private String activatedTime;
private String buyUrl;
/**
* @return gateway category.
*
*/
private String category;
/**
* @return gateway created timestamp in second format.
*
*/
private String createTime;
/**
* @return gateway description.
*
*/
private String description;
/**
* @return gateway ecs instance id.
*
*/
private String ecsInstanceId;
/**
* @return gateway expiration status.
*
*/
private Integer expireStatus;
/**
* @return gateway expiration timestamp in second format.
*
*/
private String expiredTime;
/**
* @return gateway class.
*
*/
private String gatewayClass;
/**
* @return gateway id.
*
*/
private String gatewayId;
/**
* @return gateway name.
*
*/
private String gatewayName;
/**
* @return gateway version.
*
*/
private String gatewayVersion;
/**
* @return The ID of the Gateway.
*
*/
private String id;
/**
* @return gateway service ip.
*
*/
private String innerIp;
/**
* @return gateway public ip.
*
*/
private String ip;
/**
* @return whether subscription gateway is released after expiration or not.
*
*/
private Boolean isReleaseAfterExpiration;
/**
* @return gateway location.
*
*/
private String location;
/**
* @return gateway payment type. The Payment type of gateway. The valid value: `PayAsYouGo`, `Subscription`.
*
*/
private String paymentType;
/**
* @return gateway public network bandwidth.
*
*/
private Integer publicNetworkBandwidth;
private String renewUrl;
/**
* @return gateway status.
*
*/
private String status;
/**
* @return storage bundle id.
*
*/
private String storageBundleId;
/**
* @return gateway task id.
*
*/
private String taskId;
/**
* @return gateway type.
*
*/
private String type;
/**
* @return gateway vpc id.
*
*/
private String vpcId;
/**
* @return The vswitch id.
*
*/
private String vswitchId;
private GetGatewaysGateway() {}
/**
* @return gateway .
*
*/
public String activatedTime() {
return this.activatedTime;
}
public String buyUrl() {
return this.buyUrl;
}
/**
* @return gateway category.
*
*/
public String category() {
return this.category;
}
/**
* @return gateway created timestamp in second format.
*
*/
public String createTime() {
return this.createTime;
}
/**
* @return gateway description.
*
*/
public String description() {
return this.description;
}
/**
* @return gateway ecs instance id.
*
*/
public String ecsInstanceId() {
return this.ecsInstanceId;
}
/**
* @return gateway expiration status.
*
*/
public Integer expireStatus() {
return this.expireStatus;
}
/**
* @return gateway expiration timestamp in second format.
*
*/
public String expiredTime() {
return this.expiredTime;
}
/**
* @return gateway class.
*
*/
public String gatewayClass() {
return this.gatewayClass;
}
/**
* @return gateway id.
*
*/
public String gatewayId() {
return this.gatewayId;
}
/**
* @return gateway name.
*
*/
public String gatewayName() {
return this.gatewayName;
}
/**
* @return gateway version.
*
*/
public String gatewayVersion() {
return this.gatewayVersion;
}
/**
* @return The ID of the Gateway.
*
*/
public String id() {
return this.id;
}
/**
* @return gateway service ip.
*
*/
public String innerIp() {
return this.innerIp;
}
/**
* @return gateway public ip.
*
*/
public String ip() {
return this.ip;
}
/**
* @return whether subscription gateway is released after expiration or not.
*
*/
public Boolean isReleaseAfterExpiration() {
return this.isReleaseAfterExpiration;
}
/**
* @return gateway location.
*
*/
public String location() {
return this.location;
}
/**
* @return gateway payment type. The Payment type of gateway. The valid value: `PayAsYouGo`, `Subscription`.
*
*/
public String paymentType() {
return this.paymentType;
}
/**
* @return gateway public network bandwidth.
*
*/
public Integer publicNetworkBandwidth() {
return this.publicNetworkBandwidth;
}
public String renewUrl() {
return this.renewUrl;
}
/**
* @return gateway status.
*
*/
public String status() {
return this.status;
}
/**
* @return storage bundle id.
*
*/
public String storageBundleId() {
return this.storageBundleId;
}
/**
* @return gateway task id.
*
*/
public String taskId() {
return this.taskId;
}
/**
* @return gateway type.
*
*/
public String type() {
return this.type;
}
/**
* @return gateway vpc id.
*
*/
public String vpcId() {
return this.vpcId;
}
/**
* @return The vswitch id.
*
*/
public String vswitchId() {
return this.vswitchId;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetGatewaysGateway defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String activatedTime;
private String buyUrl;
private String category;
private String createTime;
private String description;
private String ecsInstanceId;
private Integer expireStatus;
private String expiredTime;
private String gatewayClass;
private String gatewayId;
private String gatewayName;
private String gatewayVersion;
private String id;
private String innerIp;
private String ip;
private Boolean isReleaseAfterExpiration;
private String location;
private String paymentType;
private Integer publicNetworkBandwidth;
private String renewUrl;
private String status;
private String storageBundleId;
private String taskId;
private String type;
private String vpcId;
private String vswitchId;
public Builder() {}
public Builder(GetGatewaysGateway defaults) {
Objects.requireNonNull(defaults);
this.activatedTime = defaults.activatedTime;
this.buyUrl = defaults.buyUrl;
this.category = defaults.category;
this.createTime = defaults.createTime;
this.description = defaults.description;
this.ecsInstanceId = defaults.ecsInstanceId;
this.expireStatus = defaults.expireStatus;
this.expiredTime = defaults.expiredTime;
this.gatewayClass = defaults.gatewayClass;
this.gatewayId = defaults.gatewayId;
this.gatewayName = defaults.gatewayName;
this.gatewayVersion = defaults.gatewayVersion;
this.id = defaults.id;
this.innerIp = defaults.innerIp;
this.ip = defaults.ip;
this.isReleaseAfterExpiration = defaults.isReleaseAfterExpiration;
this.location = defaults.location;
this.paymentType = defaults.paymentType;
this.publicNetworkBandwidth = defaults.publicNetworkBandwidth;
this.renewUrl = defaults.renewUrl;
this.status = defaults.status;
this.storageBundleId = defaults.storageBundleId;
this.taskId = defaults.taskId;
this.type = defaults.type;
this.vpcId = defaults.vpcId;
this.vswitchId = defaults.vswitchId;
}
@CustomType.Setter
public Builder activatedTime(String activatedTime) {
if (activatedTime == null) {
throw new MissingRequiredPropertyException("GetGatewaysGateway", "activatedTime");
}
this.activatedTime = activatedTime;
return this;
}
@CustomType.Setter
public Builder buyUrl(String buyUrl) {
if (buyUrl == null) {
throw new MissingRequiredPropertyException("GetGatewaysGateway", "buyUrl");
}
this.buyUrl = buyUrl;
return this;
}
@CustomType.Setter
public Builder category(String category) {
if (category == null) {
throw new MissingRequiredPropertyException("GetGatewaysGateway", "category");
}
this.category = category;
return this;
}
@CustomType.Setter
public Builder createTime(String createTime) {
if (createTime == null) {
throw new MissingRequiredPropertyException("GetGatewaysGateway", "createTime");
}
this.createTime = createTime;
return this;
}
@CustomType.Setter
public Builder description(String description) {
if (description == null) {
throw new MissingRequiredPropertyException("GetGatewaysGateway", "description");
}
this.description = description;
return this;
}
@CustomType.Setter
public Builder ecsInstanceId(String ecsInstanceId) {
if (ecsInstanceId == null) {
throw new MissingRequiredPropertyException("GetGatewaysGateway", "ecsInstanceId");
}
this.ecsInstanceId = ecsInstanceId;
return this;
}
@CustomType.Setter
public Builder expireStatus(Integer expireStatus) {
if (expireStatus == null) {
throw new MissingRequiredPropertyException("GetGatewaysGateway", "expireStatus");
}
this.expireStatus = expireStatus;
return this;
}
@CustomType.Setter
public Builder expiredTime(String expiredTime) {
if (expiredTime == null) {
throw new MissingRequiredPropertyException("GetGatewaysGateway", "expiredTime");
}
this.expiredTime = expiredTime;
return this;
}
@CustomType.Setter
public Builder gatewayClass(String gatewayClass) {
if (gatewayClass == null) {
throw new MissingRequiredPropertyException("GetGatewaysGateway", "gatewayClass");
}
this.gatewayClass = gatewayClass;
return this;
}
@CustomType.Setter
public Builder gatewayId(String gatewayId) {
if (gatewayId == null) {
throw new MissingRequiredPropertyException("GetGatewaysGateway", "gatewayId");
}
this.gatewayId = gatewayId;
return this;
}
@CustomType.Setter
public Builder gatewayName(String gatewayName) {
if (gatewayName == null) {
throw new MissingRequiredPropertyException("GetGatewaysGateway", "gatewayName");
}
this.gatewayName = gatewayName;
return this;
}
@CustomType.Setter
public Builder gatewayVersion(String gatewayVersion) {
if (gatewayVersion == null) {
throw new MissingRequiredPropertyException("GetGatewaysGateway", "gatewayVersion");
}
this.gatewayVersion = gatewayVersion;
return this;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetGatewaysGateway", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder innerIp(String innerIp) {
if (innerIp == null) {
throw new MissingRequiredPropertyException("GetGatewaysGateway", "innerIp");
}
this.innerIp = innerIp;
return this;
}
@CustomType.Setter
public Builder ip(String ip) {
if (ip == null) {
throw new MissingRequiredPropertyException("GetGatewaysGateway", "ip");
}
this.ip = ip;
return this;
}
@CustomType.Setter
public Builder isReleaseAfterExpiration(Boolean isReleaseAfterExpiration) {
if (isReleaseAfterExpiration == null) {
throw new MissingRequiredPropertyException("GetGatewaysGateway", "isReleaseAfterExpiration");
}
this.isReleaseAfterExpiration = isReleaseAfterExpiration;
return this;
}
@CustomType.Setter
public Builder location(String location) {
if (location == null) {
throw new MissingRequiredPropertyException("GetGatewaysGateway", "location");
}
this.location = location;
return this;
}
@CustomType.Setter
public Builder paymentType(String paymentType) {
if (paymentType == null) {
throw new MissingRequiredPropertyException("GetGatewaysGateway", "paymentType");
}
this.paymentType = paymentType;
return this;
}
@CustomType.Setter
public Builder publicNetworkBandwidth(Integer publicNetworkBandwidth) {
if (publicNetworkBandwidth == null) {
throw new MissingRequiredPropertyException("GetGatewaysGateway", "publicNetworkBandwidth");
}
this.publicNetworkBandwidth = publicNetworkBandwidth;
return this;
}
@CustomType.Setter
public Builder renewUrl(String renewUrl) {
if (renewUrl == null) {
throw new MissingRequiredPropertyException("GetGatewaysGateway", "renewUrl");
}
this.renewUrl = renewUrl;
return this;
}
@CustomType.Setter
public Builder status(String status) {
if (status == null) {
throw new MissingRequiredPropertyException("GetGatewaysGateway", "status");
}
this.status = status;
return this;
}
@CustomType.Setter
public Builder storageBundleId(String storageBundleId) {
if (storageBundleId == null) {
throw new MissingRequiredPropertyException("GetGatewaysGateway", "storageBundleId");
}
this.storageBundleId = storageBundleId;
return this;
}
@CustomType.Setter
public Builder taskId(String taskId) {
if (taskId == null) {
throw new MissingRequiredPropertyException("GetGatewaysGateway", "taskId");
}
this.taskId = taskId;
return this;
}
@CustomType.Setter
public Builder type(String type) {
if (type == null) {
throw new MissingRequiredPropertyException("GetGatewaysGateway", "type");
}
this.type = type;
return this;
}
@CustomType.Setter
public Builder vpcId(String vpcId) {
if (vpcId == null) {
throw new MissingRequiredPropertyException("GetGatewaysGateway", "vpcId");
}
this.vpcId = vpcId;
return this;
}
@CustomType.Setter
public Builder vswitchId(String vswitchId) {
if (vswitchId == null) {
throw new MissingRequiredPropertyException("GetGatewaysGateway", "vswitchId");
}
this.vswitchId = vswitchId;
return this;
}
public GetGatewaysGateway build() {
final var _resultValue = new GetGatewaysGateway();
_resultValue.activatedTime = activatedTime;
_resultValue.buyUrl = buyUrl;
_resultValue.category = category;
_resultValue.createTime = createTime;
_resultValue.description = description;
_resultValue.ecsInstanceId = ecsInstanceId;
_resultValue.expireStatus = expireStatus;
_resultValue.expiredTime = expiredTime;
_resultValue.gatewayClass = gatewayClass;
_resultValue.gatewayId = gatewayId;
_resultValue.gatewayName = gatewayName;
_resultValue.gatewayVersion = gatewayVersion;
_resultValue.id = id;
_resultValue.innerIp = innerIp;
_resultValue.ip = ip;
_resultValue.isReleaseAfterExpiration = isReleaseAfterExpiration;
_resultValue.location = location;
_resultValue.paymentType = paymentType;
_resultValue.publicNetworkBandwidth = publicNetworkBandwidth;
_resultValue.renewUrl = renewUrl;
_resultValue.status = status;
_resultValue.storageBundleId = storageBundleId;
_resultValue.taskId = taskId;
_resultValue.type = type;
_resultValue.vpcId = vpcId;
_resultValue.vswitchId = vswitchId;
return _resultValue;
}
}
}