com.aliyun.ros.cdk.foas.RosCluster Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ros-cdk-foas Show documentation
Show all versions of ros-cdk-foas Show documentation
Aliyun SDK Copyright (C) Alibaba Cloud Computing All rights reserved. http://www.aliyun.com
package com.aliyun.ros.cdk.foas;
/**
* This class is a base encapsulation around the ROS resource type ALIYUN::FOAS::Cluster
, which is used to create a cluster for an order in exclusive mode.
*/
@javax.annotation.Generated(value = "jsii-pacmak/1.85.0 (build 08ee592)", date = "2024-12-13T06:45:08.551Z")
@software.amazon.jsii.Jsii(module = com.aliyun.ros.cdk.foas.$Module.class, fqn = "@alicloud/ros-cdk-foas.RosCluster")
public class RosCluster extends com.aliyun.ros.cdk.core.RosResource {
protected RosCluster(final software.amazon.jsii.JsiiObjectRef objRef) {
super(objRef);
}
protected RosCluster(final software.amazon.jsii.JsiiObject.InitializationMode initializationMode) {
super(initializationMode);
}
static {
ROS_RESOURCE_TYPE_NAME = software.amazon.jsii.JsiiObject.jsiiStaticGet(com.aliyun.ros.cdk.foas.RosCluster.class, "ROS_RESOURCE_TYPE_NAME", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
}
/**
* @param scope - scope in which this resource is defined.
This parameter is required.
* @param id - scoped id of the resource.
This parameter is required.
* @param props - resource properties.
This parameter is required.
* @param enableResourcePropertyConstraint This parameter is required.
*/
public RosCluster(final @org.jetbrains.annotations.NotNull com.aliyun.ros.cdk.core.Construct scope, final @org.jetbrains.annotations.NotNull java.lang.String id, final @org.jetbrains.annotations.NotNull com.aliyun.ros.cdk.foas.RosClusterProps props, final @org.jetbrains.annotations.NotNull java.lang.Boolean enableResourcePropertyConstraint) {
super(software.amazon.jsii.JsiiObject.InitializationMode.JSII);
software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(scope, "scope is required"), java.util.Objects.requireNonNull(id, "id is required"), java.util.Objects.requireNonNull(props, "props is required"), java.util.Objects.requireNonNull(enableResourcePropertyConstraint, "enableResourcePropertyConstraint is required") });
}
@Override
protected @org.jetbrains.annotations.NotNull java.util.Map renderProperties(final @org.jetbrains.annotations.NotNull java.util.Map props) {
return java.util.Collections.unmodifiableMap(software.amazon.jsii.Kernel.call(this, "renderProperties", software.amazon.jsii.NativeType.mapOf(software.amazon.jsii.NativeType.forClass(java.lang.Object.class)), new Object[] { java.util.Objects.requireNonNull(props, "props is required") }));
}
/**
* The resource type name for this resource class.
*/
public final static java.lang.String ROS_RESOURCE_TYPE_NAME;
/**
*/
public @org.jetbrains.annotations.NotNull com.aliyun.ros.cdk.core.IResolvable getAttrClusterId() {
return software.amazon.jsii.Kernel.get(this, "attrClusterId", software.amazon.jsii.NativeType.forClass(com.aliyun.ros.cdk.core.IResolvable.class));
}
/**
*/
public @org.jetbrains.annotations.NotNull com.aliyun.ros.cdk.core.IResolvable getAttrEngineVersions() {
return software.amazon.jsii.Kernel.get(this, "attrEngineVersions", software.amazon.jsii.NativeType.forClass(com.aliyun.ros.cdk.core.IResolvable.class));
}
/**
*/
public @org.jetbrains.annotations.NotNull com.aliyun.ros.cdk.core.IResolvable getAttrMasterInstanceInfos() {
return software.amazon.jsii.Kernel.get(this, "attrMasterInstanceInfos", software.amazon.jsii.NativeType.forClass(com.aliyun.ros.cdk.core.IResolvable.class));
}
/**
*/
public @org.jetbrains.annotations.NotNull com.aliyun.ros.cdk.core.IResolvable getAttrOrderId() {
return software.amazon.jsii.Kernel.get(this, "attrOrderId", software.amazon.jsii.NativeType.forClass(com.aliyun.ros.cdk.core.IResolvable.class));
}
/**
*/
public @org.jetbrains.annotations.NotNull com.aliyun.ros.cdk.core.IResolvable getAttrSecurityGroupId() {
return software.amazon.jsii.Kernel.get(this, "attrSecurityGroupId", software.amazon.jsii.NativeType.forClass(com.aliyun.ros.cdk.core.IResolvable.class));
}
/**
*/
public @org.jetbrains.annotations.NotNull com.aliyun.ros.cdk.core.IResolvable getAttrSlaveInstanceInfos() {
return software.amazon.jsii.Kernel.get(this, "attrSlaveInstanceInfos", software.amazon.jsii.NativeType.forClass(com.aliyun.ros.cdk.core.IResolvable.class));
}
/**
*/
public @org.jetbrains.annotations.NotNull com.aliyun.ros.cdk.core.IResolvable getAttrState() {
return software.amazon.jsii.Kernel.get(this, "attrState", software.amazon.jsii.NativeType.forClass(com.aliyun.ros.cdk.core.IResolvable.class));
}
/**
*/
public @org.jetbrains.annotations.NotNull com.aliyun.ros.cdk.core.IResolvable getAttrVSwitchIds() {
return software.amazon.jsii.Kernel.get(this, "attrVSwitchIds", software.amazon.jsii.NativeType.forClass(com.aliyun.ros.cdk.core.IResolvable.class));
}
@Override
protected @org.jetbrains.annotations.NotNull java.util.Map getRosProperties() {
return java.util.Collections.unmodifiableMap(software.amazon.jsii.Kernel.get(this, "rosProperties", software.amazon.jsii.NativeType.mapOf(software.amazon.jsii.NativeType.forClass(java.lang.Object.class))));
}
/**
*/
public @org.jetbrains.annotations.NotNull java.lang.Object getClusterName() {
return software.amazon.jsii.Kernel.get(this, "clusterName", software.amazon.jsii.NativeType.forClass(java.lang.Object.class));
}
/**
*/
public void setClusterName(final @org.jetbrains.annotations.NotNull java.lang.String value) {
software.amazon.jsii.Kernel.set(this, "clusterName", java.util.Objects.requireNonNull(value, "clusterName is required"));
}
/**
*/
public void setClusterName(final @org.jetbrains.annotations.NotNull com.aliyun.ros.cdk.core.IResolvable value) {
software.amazon.jsii.Kernel.set(this, "clusterName", java.util.Objects.requireNonNull(value, "clusterName is required"));
}
/**
*/
public @org.jetbrains.annotations.NotNull java.lang.Object getDescription() {
return software.amazon.jsii.Kernel.get(this, "description", software.amazon.jsii.NativeType.forClass(java.lang.Object.class));
}
/**
*/
public void setDescription(final @org.jetbrains.annotations.NotNull java.lang.String value) {
software.amazon.jsii.Kernel.set(this, "description", java.util.Objects.requireNonNull(value, "description is required"));
}
/**
*/
public void setDescription(final @org.jetbrains.annotations.NotNull com.aliyun.ros.cdk.core.IResolvable value) {
software.amazon.jsii.Kernel.set(this, "description", java.util.Objects.requireNonNull(value, "description is required"));
}
public @org.jetbrains.annotations.NotNull java.lang.Boolean getEnableResourcePropertyConstraint() {
return software.amazon.jsii.Kernel.get(this, "enableResourcePropertyConstraint", software.amazon.jsii.NativeType.forClass(java.lang.Boolean.class));
}
public void setEnableResourcePropertyConstraint(final @org.jetbrains.annotations.NotNull java.lang.Boolean value) {
software.amazon.jsii.Kernel.set(this, "enableResourcePropertyConstraint", java.util.Objects.requireNonNull(value, "enableResourcePropertyConstraint is required"));
}
/**
*/
public @org.jetbrains.annotations.NotNull java.lang.Object getOssBucket() {
return software.amazon.jsii.Kernel.get(this, "ossBucket", software.amazon.jsii.NativeType.forClass(java.lang.Object.class));
}
/**
*/
public void setOssBucket(final @org.jetbrains.annotations.NotNull java.lang.String value) {
software.amazon.jsii.Kernel.set(this, "ossBucket", java.util.Objects.requireNonNull(value, "ossBucket is required"));
}
/**
*/
public void setOssBucket(final @org.jetbrains.annotations.NotNull com.aliyun.ros.cdk.core.IResolvable value) {
software.amazon.jsii.Kernel.set(this, "ossBucket", java.util.Objects.requireNonNull(value, "ossBucket is required"));
}
/**
*/
public @org.jetbrains.annotations.NotNull java.lang.Object getVSwitchId() {
return software.amazon.jsii.Kernel.get(this, "vSwitchId", software.amazon.jsii.NativeType.forClass(java.lang.Object.class));
}
/**
*/
public void setVSwitchId(final @org.jetbrains.annotations.NotNull java.lang.String value) {
software.amazon.jsii.Kernel.set(this, "vSwitchId", java.util.Objects.requireNonNull(value, "vSwitchId is required"));
}
/**
*/
public void setVSwitchId(final @org.jetbrains.annotations.NotNull com.aliyun.ros.cdk.core.IResolvable value) {
software.amazon.jsii.Kernel.set(this, "vSwitchId", java.util.Objects.requireNonNull(value, "vSwitchId is required"));
}
/**
*/
public @org.jetbrains.annotations.Nullable java.lang.Object getOrder() {
return software.amazon.jsii.Kernel.get(this, "order", software.amazon.jsii.NativeType.forClass(java.lang.Object.class));
}
/**
*/
public void setOrder(final @org.jetbrains.annotations.Nullable com.aliyun.ros.cdk.core.IResolvable value) {
software.amazon.jsii.Kernel.set(this, "order", value);
}
/**
*/
public void setOrder(final @org.jetbrains.annotations.Nullable com.aliyun.ros.cdk.foas.RosCluster.OrderProperty value) {
software.amazon.jsii.Kernel.set(this, "order", value);
}
/**
*/
public @org.jetbrains.annotations.Nullable java.lang.Object getOrderId() {
return software.amazon.jsii.Kernel.get(this, "orderId", software.amazon.jsii.NativeType.forClass(java.lang.Object.class));
}
/**
*/
public void setOrderId(final @org.jetbrains.annotations.Nullable java.lang.String value) {
software.amazon.jsii.Kernel.set(this, "orderId", value);
}
/**
*/
public void setOrderId(final @org.jetbrains.annotations.Nullable com.aliyun.ros.cdk.core.IResolvable value) {
software.amazon.jsii.Kernel.set(this, "orderId", value);
}
/**
*/
@software.amazon.jsii.Jsii(module = com.aliyun.ros.cdk.foas.$Module.class, fqn = "@alicloud/ros-cdk-foas.RosCluster.OrderProperty")
@software.amazon.jsii.Jsii.Proxy(OrderProperty.Jsii$Proxy.class)
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public static interface OrderProperty extends software.amazon.jsii.JsiiSerializable {
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
@org.jetbrains.annotations.NotNull java.lang.Object getMasterSpec();
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
@org.jetbrains.annotations.NotNull java.lang.Object getSlaveSpec();
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
default @org.jetbrains.annotations.Nullable java.lang.Object getMasterNumber() {
return null;
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
default @org.jetbrains.annotations.Nullable java.lang.Object getPayModel() {
return null;
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
default @org.jetbrains.annotations.Nullable java.lang.Object getPeriod() {
return null;
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
default @org.jetbrains.annotations.Nullable java.lang.Object getSlaveNumber() {
return null;
}
/**
* @return a {@link Builder} of {@link OrderProperty}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
static Builder builder() {
return new Builder();
}
/**
* A builder for {@link OrderProperty}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public static final class Builder implements software.amazon.jsii.Builder {
java.lang.Object masterSpec;
java.lang.Object slaveSpec;
java.lang.Object masterNumber;
java.lang.Object payModel;
java.lang.Object period;
java.lang.Object slaveNumber;
/**
* Sets the value of {@link OrderProperty#getMasterSpec}
* @param masterSpec the value to be set. This parameter is required.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder masterSpec(java.lang.String masterSpec) {
this.masterSpec = masterSpec;
return this;
}
/**
* Sets the value of {@link OrderProperty#getMasterSpec}
* @param masterSpec the value to be set. This parameter is required.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder masterSpec(com.aliyun.ros.cdk.core.IResolvable masterSpec) {
this.masterSpec = masterSpec;
return this;
}
/**
* Sets the value of {@link OrderProperty#getSlaveSpec}
* @param slaveSpec the value to be set. This parameter is required.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder slaveSpec(java.lang.String slaveSpec) {
this.slaveSpec = slaveSpec;
return this;
}
/**
* Sets the value of {@link OrderProperty#getSlaveSpec}
* @param slaveSpec the value to be set. This parameter is required.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder slaveSpec(com.aliyun.ros.cdk.core.IResolvable slaveSpec) {
this.slaveSpec = slaveSpec;
return this;
}
/**
* Sets the value of {@link OrderProperty#getMasterNumber}
* @param masterNumber the value to be set.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder masterNumber(java.lang.Number masterNumber) {
this.masterNumber = masterNumber;
return this;
}
/**
* Sets the value of {@link OrderProperty#getMasterNumber}
* @param masterNumber the value to be set.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder masterNumber(com.aliyun.ros.cdk.core.IResolvable masterNumber) {
this.masterNumber = masterNumber;
return this;
}
/**
* Sets the value of {@link OrderProperty#getPayModel}
* @param payModel the value to be set.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder payModel(java.lang.String payModel) {
this.payModel = payModel;
return this;
}
/**
* Sets the value of {@link OrderProperty#getPayModel}
* @param payModel the value to be set.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder payModel(com.aliyun.ros.cdk.core.IResolvable payModel) {
this.payModel = payModel;
return this;
}
/**
* Sets the value of {@link OrderProperty#getPeriod}
* @param period the value to be set.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder period(java.lang.Number period) {
this.period = period;
return this;
}
/**
* Sets the value of {@link OrderProperty#getPeriod}
* @param period the value to be set.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder period(com.aliyun.ros.cdk.core.IResolvable period) {
this.period = period;
return this;
}
/**
* Sets the value of {@link OrderProperty#getSlaveNumber}
* @param slaveNumber the value to be set.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder slaveNumber(java.lang.Number slaveNumber) {
this.slaveNumber = slaveNumber;
return this;
}
/**
* Sets the value of {@link OrderProperty#getSlaveNumber}
* @param slaveNumber the value to be set.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder slaveNumber(com.aliyun.ros.cdk.core.IResolvable slaveNumber) {
this.slaveNumber = slaveNumber;
return this;
}
/**
* Builds the configured instance.
* @return a new instance of {@link OrderProperty}
* @throws NullPointerException if any required attribute was not provided
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
@Override
public OrderProperty build() {
return new Jsii$Proxy(this);
}
}
/**
* An implementation for {@link OrderProperty}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
@software.amazon.jsii.Internal
final class Jsii$Proxy extends software.amazon.jsii.JsiiObject implements OrderProperty {
private final java.lang.Object masterSpec;
private final java.lang.Object slaveSpec;
private final java.lang.Object masterNumber;
private final java.lang.Object payModel;
private final java.lang.Object period;
private final java.lang.Object slaveNumber;
/**
* Constructor that initializes the object based on values retrieved from the JsiiObject.
* @param objRef Reference to the JSII managed object.
*/
protected Jsii$Proxy(final software.amazon.jsii.JsiiObjectRef objRef) {
super(objRef);
this.masterSpec = software.amazon.jsii.Kernel.get(this, "masterSpec", software.amazon.jsii.NativeType.forClass(java.lang.Object.class));
this.slaveSpec = software.amazon.jsii.Kernel.get(this, "slaveSpec", software.amazon.jsii.NativeType.forClass(java.lang.Object.class));
this.masterNumber = software.amazon.jsii.Kernel.get(this, "masterNumber", software.amazon.jsii.NativeType.forClass(java.lang.Object.class));
this.payModel = software.amazon.jsii.Kernel.get(this, "payModel", software.amazon.jsii.NativeType.forClass(java.lang.Object.class));
this.period = software.amazon.jsii.Kernel.get(this, "period", software.amazon.jsii.NativeType.forClass(java.lang.Object.class));
this.slaveNumber = software.amazon.jsii.Kernel.get(this, "slaveNumber", software.amazon.jsii.NativeType.forClass(java.lang.Object.class));
}
/**
* Constructor that initializes the object based on literal property values passed by the {@link Builder}.
*/
protected Jsii$Proxy(final Builder builder) {
super(software.amazon.jsii.JsiiObject.InitializationMode.JSII);
this.masterSpec = java.util.Objects.requireNonNull(builder.masterSpec, "masterSpec is required");
this.slaveSpec = java.util.Objects.requireNonNull(builder.slaveSpec, "slaveSpec is required");
this.masterNumber = builder.masterNumber;
this.payModel = builder.payModel;
this.period = builder.period;
this.slaveNumber = builder.slaveNumber;
}
@Override
public final java.lang.Object getMasterSpec() {
return this.masterSpec;
}
@Override
public final java.lang.Object getSlaveSpec() {
return this.slaveSpec;
}
@Override
public final java.lang.Object getMasterNumber() {
return this.masterNumber;
}
@Override
public final java.lang.Object getPayModel() {
return this.payModel;
}
@Override
public final java.lang.Object getPeriod() {
return this.period;
}
@Override
public final java.lang.Object getSlaveNumber() {
return this.slaveNumber;
}
@Override
@software.amazon.jsii.Internal
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson() {
final com.fasterxml.jackson.databind.ObjectMapper om = software.amazon.jsii.JsiiObjectMapper.INSTANCE;
final com.fasterxml.jackson.databind.node.ObjectNode data = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode();
data.set("masterSpec", om.valueToTree(this.getMasterSpec()));
data.set("slaveSpec", om.valueToTree(this.getSlaveSpec()));
if (this.getMasterNumber() != null) {
data.set("masterNumber", om.valueToTree(this.getMasterNumber()));
}
if (this.getPayModel() != null) {
data.set("payModel", om.valueToTree(this.getPayModel()));
}
if (this.getPeriod() != null) {
data.set("period", om.valueToTree(this.getPeriod()));
}
if (this.getSlaveNumber() != null) {
data.set("slaveNumber", om.valueToTree(this.getSlaveNumber()));
}
final com.fasterxml.jackson.databind.node.ObjectNode struct = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode();
struct.set("fqn", om.valueToTree("@alicloud/ros-cdk-foas.RosCluster.OrderProperty"));
struct.set("data", data);
final com.fasterxml.jackson.databind.node.ObjectNode obj = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode();
obj.set("$jsii.struct", struct);
return obj;
}
@Override
public final boolean equals(final Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
OrderProperty.Jsii$Proxy that = (OrderProperty.Jsii$Proxy) o;
if (!masterSpec.equals(that.masterSpec)) return false;
if (!slaveSpec.equals(that.slaveSpec)) return false;
if (this.masterNumber != null ? !this.masterNumber.equals(that.masterNumber) : that.masterNumber != null) return false;
if (this.payModel != null ? !this.payModel.equals(that.payModel) : that.payModel != null) return false;
if (this.period != null ? !this.period.equals(that.period) : that.period != null) return false;
return this.slaveNumber != null ? this.slaveNumber.equals(that.slaveNumber) : that.slaveNumber == null;
}
@Override
public final int hashCode() {
int result = this.masterSpec.hashCode();
result = 31 * result + (this.slaveSpec.hashCode());
result = 31 * result + (this.masterNumber != null ? this.masterNumber.hashCode() : 0);
result = 31 * result + (this.payModel != null ? this.payModel.hashCode() : 0);
result = 31 * result + (this.period != null ? this.period.hashCode() : 0);
result = 31 * result + (this.slaveNumber != null ? this.slaveNumber.hashCode() : 0);
return result;
}
}
}
/**
* A fluent builder for {@link com.aliyun.ros.cdk.foas.RosCluster}.
*/
public static final class Builder implements software.amazon.jsii.Builder {
/**
* @return a new instance of {@link Builder}.
* @param scope - scope in which this resource is defined.
This parameter is required.
* @param id - scoped id of the resource.
This parameter is required.
* @param enableResourcePropertyConstraint This parameter is required.
*/
public static Builder create(final com.aliyun.ros.cdk.core.Construct scope, final java.lang.String id, final java.lang.Boolean enableResourcePropertyConstraint) {
return new Builder(scope, id, enableResourcePropertyConstraint);
}
private final com.aliyun.ros.cdk.core.Construct scope;
private final java.lang.String id;
private final java.lang.Boolean enableResourcePropertyConstraint;
private final com.aliyun.ros.cdk.foas.RosClusterProps.Builder props;
private Builder(final com.aliyun.ros.cdk.core.Construct scope, final java.lang.String id, final java.lang.Boolean enableResourcePropertyConstraint) {
this.scope = scope;
this.id = id;
this.enableResourcePropertyConstraint = enableResourcePropertyConstraint;
this.props = new com.aliyun.ros.cdk.foas.RosClusterProps.Builder();
}
/**
* @return {@code this}
* @param clusterName This parameter is required.
*/
public Builder clusterName(final java.lang.String clusterName) {
this.props.clusterName(clusterName);
return this;
}
/**
* @return {@code this}
* @param clusterName This parameter is required.
*/
public Builder clusterName(final com.aliyun.ros.cdk.core.IResolvable clusterName) {
this.props.clusterName(clusterName);
return this;
}
/**
* @return {@code this}
* @param description This parameter is required.
*/
public Builder description(final java.lang.String description) {
this.props.description(description);
return this;
}
/**
* @return {@code this}
* @param description This parameter is required.
*/
public Builder description(final com.aliyun.ros.cdk.core.IResolvable description) {
this.props.description(description);
return this;
}
/**
* @return {@code this}
* @param ossBucket This parameter is required.
*/
public Builder ossBucket(final java.lang.String ossBucket) {
this.props.ossBucket(ossBucket);
return this;
}
/**
* @return {@code this}
* @param ossBucket This parameter is required.
*/
public Builder ossBucket(final com.aliyun.ros.cdk.core.IResolvable ossBucket) {
this.props.ossBucket(ossBucket);
return this;
}
/**
* @return {@code this}
* @param vSwitchId This parameter is required.
*/
public Builder vSwitchId(final java.lang.String vSwitchId) {
this.props.vSwitchId(vSwitchId);
return this;
}
/**
* @return {@code this}
* @param vSwitchId This parameter is required.
*/
public Builder vSwitchId(final com.aliyun.ros.cdk.core.IResolvable vSwitchId) {
this.props.vSwitchId(vSwitchId);
return this;
}
/**
* @return {@code this}
* @param order This parameter is required.
*/
public Builder order(final com.aliyun.ros.cdk.core.IResolvable order) {
this.props.order(order);
return this;
}
/**
* @return {@code this}
* @param order This parameter is required.
*/
public Builder order(final com.aliyun.ros.cdk.foas.RosCluster.OrderProperty order) {
this.props.order(order);
return this;
}
/**
* @return {@code this}
* @param orderId This parameter is required.
*/
public Builder orderId(final java.lang.String orderId) {
this.props.orderId(orderId);
return this;
}
/**
* @return {@code this}
* @param orderId This parameter is required.
*/
public Builder orderId(final com.aliyun.ros.cdk.core.IResolvable orderId) {
this.props.orderId(orderId);
return this;
}
/**
* @return a newly built instance of {@link com.aliyun.ros.cdk.foas.RosCluster}.
*/
@Override
public com.aliyun.ros.cdk.foas.RosCluster build() {
return new com.aliyun.ros.cdk.foas.RosCluster(
this.scope,
this.id,
this.props.build(),
this.enableResourcePropertyConstraint
);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy