All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aliyun.ros.cdk.uis.UisNode Maven / Gradle / Ivy

Go to download

Aliyun SDK Copyright (C) Alibaba Cloud Computing All rights reserved. http://www.aliyun.com

There is a newer version: 1.0.2
Show newest version
package com.aliyun.ros.cdk.uis;

/**
 * A ROS resource type:  `ALIYUN::UIS::UisNode`.
 */
@javax.annotation.Generated(value = "jsii-pacmak/1.17.1 (build 2bac5fd)", date = "2021-02-02T11:13:44.098Z")
@software.amazon.jsii.Jsii(module = com.aliyun.ros.cdk.uis.$Module.class, fqn = "@alicloud/ros-cdk-uis.UisNode")
public class UisNode extends com.aliyun.ros.cdk.core.Resource {

    protected UisNode(final software.amazon.jsii.JsiiObjectRef objRef) {
        super(objRef);
    }

    protected UisNode(final software.amazon.jsii.JsiiObject.InitializationMode initializationMode) {
        super(initializationMode);
    }

    /**
     * Create a new `ALIYUN::UIS::UisNode`.
     * 

* @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 */ public UisNode(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.uis.UisNodeProps props, final @org.jetbrains.annotations.Nullable 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"), enableResourcePropertyConstraint }); } /** * Create a new `ALIYUN::UIS::UisNode`. *

* @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. */ public UisNode(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.uis.UisNodeProps props) { 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") }); } /** */ public @org.jetbrains.annotations.NotNull java.lang.Object getAttrUisNodeActiveIps() { return software.amazon.jsii.Kernel.get(this, "attrUisNodeActiveIps", software.amazon.jsii.NativeType.forClass(java.lang.Object.class)); } /** */ public @org.jetbrains.annotations.NotNull java.lang.Object getAttrUisNodeId() { return software.amazon.jsii.Kernel.get(this, "attrUisNodeId", software.amazon.jsii.NativeType.forClass(java.lang.Object.class)); } /** */ public @org.jetbrains.annotations.NotNull java.lang.Object getAttrUisNodeIps() { return software.amazon.jsii.Kernel.get(this, "attrUisNodeIps", software.amazon.jsii.NativeType.forClass(java.lang.Object.class)); } /** * A fluent builder for {@link com.aliyun.ros.cdk.uis.UisNode}. */ 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 */ 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); } /** * @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. */ public static Builder create(final com.aliyun.ros.cdk.core.Construct scope, final java.lang.String id) { return new Builder(scope, id, null); } 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.uis.UisNodeProps.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.uis.UisNodeProps.Builder(); } /** * @return {@code this} * @param ipAddrsNum This parameter is required. */ public Builder ipAddrsNum(final java.lang.Number ipAddrsNum) { this.props.ipAddrsNum(ipAddrsNum); return this; } /** * @return {@code this} * @param uisId This parameter is required. */ public Builder uisId(final java.lang.String uisId) { this.props.uisId(uisId); return this; } /** * @return {@code this} * @param uisNodeAreaId This parameter is required. */ public Builder uisNodeAreaId(final java.lang.String uisNodeAreaId) { this.props.uisNodeAreaId(uisNodeAreaId); return this; } /** * @return {@code this} * @param uisNodeBandwidth This parameter is required. */ public Builder uisNodeBandwidth(final java.lang.Number uisNodeBandwidth) { this.props.uisNodeBandwidth(uisNodeBandwidth); 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 name This parameter is required. */ public Builder name(final java.lang.String name) { this.props.name(name); return this; } /** * @returns a newly built instance of {@link com.aliyun.ros.cdk.uis.UisNode}. */ @Override public com.aliyun.ros.cdk.uis.UisNode build() { return new com.aliyun.ros.cdk.uis.UisNode( this.scope, this.id, this.props.build(), this.enableResourcePropertyConstraint ); } } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy