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

com.aliyun.ros.cdk.cloudfw.RosControlPolicy 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.4.0
Show newest version
package com.aliyun.ros.cdk.cloudfw;

/**
 * This class is a base encapsulation around the ROS resource type ALIYUN::CLOUDFW::ControlPolicy, which is used to add an access control policy.
 */
@javax.annotation.Generated(value = "jsii-pacmak/1.85.0 (build 08ee592)", date = "2024-12-13T06:45:05.414Z")
@software.amazon.jsii.Jsii(module = com.aliyun.ros.cdk.cloudfw.$Module.class, fqn = "@alicloud/ros-cdk-cloudfw.RosControlPolicy")
public class RosControlPolicy extends com.aliyun.ros.cdk.core.RosResource {

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

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

    static {
        ROS_RESOURCE_TYPE_NAME = software.amazon.jsii.JsiiObject.jsiiStaticGet(com.aliyun.ros.cdk.cloudfw.RosControlPolicy.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 RosControlPolicy(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.cloudfw.RosControlPolicyProps 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 getAttrAclUuid() { return software.amazon.jsii.Kernel.get(this, "attrAclUuid", 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 getAclAction() { return software.amazon.jsii.Kernel.get(this, "aclAction", software.amazon.jsii.NativeType.forClass(java.lang.Object.class)); } /** */ public void setAclAction(final @org.jetbrains.annotations.NotNull java.lang.String value) { software.amazon.jsii.Kernel.set(this, "aclAction", java.util.Objects.requireNonNull(value, "aclAction is required")); } /** */ public void setAclAction(final @org.jetbrains.annotations.NotNull com.aliyun.ros.cdk.core.IResolvable value) { software.amazon.jsii.Kernel.set(this, "aclAction", java.util.Objects.requireNonNull(value, "aclAction 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.Object getDestination() { return software.amazon.jsii.Kernel.get(this, "destination", software.amazon.jsii.NativeType.forClass(java.lang.Object.class)); } /** */ public void setDestination(final @org.jetbrains.annotations.NotNull java.lang.String value) { software.amazon.jsii.Kernel.set(this, "destination", java.util.Objects.requireNonNull(value, "destination is required")); } /** */ public void setDestination(final @org.jetbrains.annotations.NotNull com.aliyun.ros.cdk.core.IResolvable value) { software.amazon.jsii.Kernel.set(this, "destination", java.util.Objects.requireNonNull(value, "destination is required")); } /** */ public @org.jetbrains.annotations.NotNull java.lang.Object getDestinationType() { return software.amazon.jsii.Kernel.get(this, "destinationType", software.amazon.jsii.NativeType.forClass(java.lang.Object.class)); } /** */ public void setDestinationType(final @org.jetbrains.annotations.NotNull java.lang.String value) { software.amazon.jsii.Kernel.set(this, "destinationType", java.util.Objects.requireNonNull(value, "destinationType is required")); } /** */ public void setDestinationType(final @org.jetbrains.annotations.NotNull com.aliyun.ros.cdk.core.IResolvable value) { software.amazon.jsii.Kernel.set(this, "destinationType", java.util.Objects.requireNonNull(value, "destinationType is required")); } /** */ public @org.jetbrains.annotations.NotNull java.lang.Object getDirection() { return software.amazon.jsii.Kernel.get(this, "direction", software.amazon.jsii.NativeType.forClass(java.lang.Object.class)); } /** */ public void setDirection(final @org.jetbrains.annotations.NotNull java.lang.String value) { software.amazon.jsii.Kernel.set(this, "direction", java.util.Objects.requireNonNull(value, "direction is required")); } /** */ public void setDirection(final @org.jetbrains.annotations.NotNull com.aliyun.ros.cdk.core.IResolvable value) { software.amazon.jsii.Kernel.set(this, "direction", java.util.Objects.requireNonNull(value, "direction 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 getNewOrder() { return software.amazon.jsii.Kernel.get(this, "newOrder", software.amazon.jsii.NativeType.forClass(java.lang.Object.class)); } /** */ public void setNewOrder(final @org.jetbrains.annotations.NotNull java.lang.Number value) { software.amazon.jsii.Kernel.set(this, "newOrder", java.util.Objects.requireNonNull(value, "newOrder is required")); } /** */ public void setNewOrder(final @org.jetbrains.annotations.NotNull com.aliyun.ros.cdk.core.IResolvable value) { software.amazon.jsii.Kernel.set(this, "newOrder", java.util.Objects.requireNonNull(value, "newOrder is required")); } /** */ public @org.jetbrains.annotations.NotNull java.lang.Object getProto() { return software.amazon.jsii.Kernel.get(this, "proto", software.amazon.jsii.NativeType.forClass(java.lang.Object.class)); } /** */ public void setProto(final @org.jetbrains.annotations.NotNull java.lang.String value) { software.amazon.jsii.Kernel.set(this, "proto", java.util.Objects.requireNonNull(value, "proto is required")); } /** */ public void setProto(final @org.jetbrains.annotations.NotNull com.aliyun.ros.cdk.core.IResolvable value) { software.amazon.jsii.Kernel.set(this, "proto", java.util.Objects.requireNonNull(value, "proto is required")); } /** */ public @org.jetbrains.annotations.NotNull java.lang.Object getSource() { return software.amazon.jsii.Kernel.get(this, "source", software.amazon.jsii.NativeType.forClass(java.lang.Object.class)); } /** */ public void setSource(final @org.jetbrains.annotations.NotNull java.lang.String value) { software.amazon.jsii.Kernel.set(this, "source", java.util.Objects.requireNonNull(value, "source is required")); } /** */ public void setSource(final @org.jetbrains.annotations.NotNull com.aliyun.ros.cdk.core.IResolvable value) { software.amazon.jsii.Kernel.set(this, "source", java.util.Objects.requireNonNull(value, "source is required")); } /** */ public @org.jetbrains.annotations.NotNull java.lang.Object getSourceType() { return software.amazon.jsii.Kernel.get(this, "sourceType", software.amazon.jsii.NativeType.forClass(java.lang.Object.class)); } /** */ public void setSourceType(final @org.jetbrains.annotations.NotNull java.lang.String value) { software.amazon.jsii.Kernel.set(this, "sourceType", java.util.Objects.requireNonNull(value, "sourceType is required")); } /** */ public void setSourceType(final @org.jetbrains.annotations.NotNull com.aliyun.ros.cdk.core.IResolvable value) { software.amazon.jsii.Kernel.set(this, "sourceType", java.util.Objects.requireNonNull(value, "sourceType is required")); } /** */ public @org.jetbrains.annotations.Nullable java.lang.Object getApplicationName() { return software.amazon.jsii.Kernel.get(this, "applicationName", software.amazon.jsii.NativeType.forClass(java.lang.Object.class)); } /** */ public void setApplicationName(final @org.jetbrains.annotations.Nullable java.lang.String value) { software.amazon.jsii.Kernel.set(this, "applicationName", value); } /** */ public void setApplicationName(final @org.jetbrains.annotations.Nullable com.aliyun.ros.cdk.core.IResolvable value) { software.amazon.jsii.Kernel.set(this, "applicationName", value); } /** */ public @org.jetbrains.annotations.Nullable java.lang.Object getApplicationNameList() { return software.amazon.jsii.Kernel.get(this, "applicationNameList", software.amazon.jsii.NativeType.forClass(java.lang.Object.class)); } /** */ public void setApplicationNameList(final @org.jetbrains.annotations.Nullable com.aliyun.ros.cdk.core.IResolvable value) { software.amazon.jsii.Kernel.set(this, "applicationNameList", value); } /** */ public void setApplicationNameList(final @org.jetbrains.annotations.Nullable java.util.List value) { if (software.amazon.jsii.Configuration.getRuntimeTypeChecking()) { for (int __idx_ac66f0 = 0; __idx_ac66f0 < value.size(); __idx_ac66f0++) { final java.lang.Object __val_ac66f0 = value.get(__idx_ac66f0); if ( !(__val_ac66f0 instanceof java.lang.String) && !(__val_ac66f0 instanceof com.aliyun.ros.cdk.core.IResolvable) && !(__val_ac66f0.getClass().equals(software.amazon.jsii.JsiiObject.class)) ) { throw new IllegalArgumentException( new java.lang.StringBuilder("Expected ") .append("value").append(".get(").append(__idx_ac66f0).append(")") .append(" to be one of: java.lang.String, com.aliyun.ros.cdk.core.IResolvable; received ") .append(__val_ac66f0.getClass()).toString()); } } } software.amazon.jsii.Kernel.set(this, "applicationNameList", value); } /** */ public @org.jetbrains.annotations.Nullable java.lang.Object getDestPort() { return software.amazon.jsii.Kernel.get(this, "destPort", software.amazon.jsii.NativeType.forClass(java.lang.Object.class)); } /** */ public void setDestPort(final @org.jetbrains.annotations.Nullable java.lang.String value) { software.amazon.jsii.Kernel.set(this, "destPort", value); } /** */ public void setDestPort(final @org.jetbrains.annotations.Nullable com.aliyun.ros.cdk.core.IResolvable value) { software.amazon.jsii.Kernel.set(this, "destPort", value); } /** */ public @org.jetbrains.annotations.Nullable java.lang.Object getDestPortGroup() { return software.amazon.jsii.Kernel.get(this, "destPortGroup", software.amazon.jsii.NativeType.forClass(java.lang.Object.class)); } /** */ public void setDestPortGroup(final @org.jetbrains.annotations.Nullable java.lang.String value) { software.amazon.jsii.Kernel.set(this, "destPortGroup", value); } /** */ public void setDestPortGroup(final @org.jetbrains.annotations.Nullable com.aliyun.ros.cdk.core.IResolvable value) { software.amazon.jsii.Kernel.set(this, "destPortGroup", value); } /** */ public @org.jetbrains.annotations.Nullable java.lang.Object getDestPortType() { return software.amazon.jsii.Kernel.get(this, "destPortType", software.amazon.jsii.NativeType.forClass(java.lang.Object.class)); } /** */ public void setDestPortType(final @org.jetbrains.annotations.Nullable java.lang.String value) { software.amazon.jsii.Kernel.set(this, "destPortType", value); } /** */ public void setDestPortType(final @org.jetbrains.annotations.Nullable com.aliyun.ros.cdk.core.IResolvable value) { software.amazon.jsii.Kernel.set(this, "destPortType", value); } /** */ public @org.jetbrains.annotations.Nullable java.lang.Object getDomainResolveType() { return software.amazon.jsii.Kernel.get(this, "domainResolveType", software.amazon.jsii.NativeType.forClass(java.lang.Object.class)); } /** */ public void setDomainResolveType(final @org.jetbrains.annotations.Nullable java.lang.String value) { software.amazon.jsii.Kernel.set(this, "domainResolveType", value); } /** */ public void setDomainResolveType(final @org.jetbrains.annotations.Nullable com.aliyun.ros.cdk.core.IResolvable value) { software.amazon.jsii.Kernel.set(this, "domainResolveType", value); } /** */ public @org.jetbrains.annotations.Nullable java.lang.Object getEndTime() { return software.amazon.jsii.Kernel.get(this, "endTime", software.amazon.jsii.NativeType.forClass(java.lang.Object.class)); } /** */ public void setEndTime(final @org.jetbrains.annotations.Nullable java.lang.Number value) { software.amazon.jsii.Kernel.set(this, "endTime", value); } /** */ public void setEndTime(final @org.jetbrains.annotations.Nullable com.aliyun.ros.cdk.core.IResolvable value) { software.amazon.jsii.Kernel.set(this, "endTime", value); } /** */ public @org.jetbrains.annotations.Nullable java.lang.Object getIpVersion() { return software.amazon.jsii.Kernel.get(this, "ipVersion", software.amazon.jsii.NativeType.forClass(java.lang.Object.class)); } /** */ public void setIpVersion(final @org.jetbrains.annotations.Nullable java.lang.String value) { software.amazon.jsii.Kernel.set(this, "ipVersion", value); } /** */ public void setIpVersion(final @org.jetbrains.annotations.Nullable com.aliyun.ros.cdk.core.IResolvable value) { software.amazon.jsii.Kernel.set(this, "ipVersion", value); } /** */ public @org.jetbrains.annotations.Nullable java.lang.Object getRegionId() { return software.amazon.jsii.Kernel.get(this, "regionId", software.amazon.jsii.NativeType.forClass(java.lang.Object.class)); } /** */ public void setRegionId(final @org.jetbrains.annotations.Nullable java.lang.String value) { software.amazon.jsii.Kernel.set(this, "regionId", value); } /** */ public void setRegionId(final @org.jetbrains.annotations.Nullable com.aliyun.ros.cdk.core.IResolvable value) { software.amazon.jsii.Kernel.set(this, "regionId", value); } /** */ public @org.jetbrains.annotations.Nullable java.lang.Object getRelease() { return software.amazon.jsii.Kernel.get(this, "release", software.amazon.jsii.NativeType.forClass(java.lang.Object.class)); } /** */ public void setRelease(final @org.jetbrains.annotations.Nullable java.lang.Boolean value) { software.amazon.jsii.Kernel.set(this, "release", value); } /** */ public void setRelease(final @org.jetbrains.annotations.Nullable com.aliyun.ros.cdk.core.IResolvable value) { software.amazon.jsii.Kernel.set(this, "release", value); } /** */ public @org.jetbrains.annotations.Nullable java.lang.Object getRepeatDays() { return software.amazon.jsii.Kernel.get(this, "repeatDays", software.amazon.jsii.NativeType.forClass(java.lang.Object.class)); } /** */ public void setRepeatDays(final @org.jetbrains.annotations.Nullable com.aliyun.ros.cdk.core.IResolvable value) { software.amazon.jsii.Kernel.set(this, "repeatDays", value); } /** */ public void setRepeatDays(final @org.jetbrains.annotations.Nullable java.util.List value) { if (software.amazon.jsii.Configuration.getRuntimeTypeChecking()) { for (int __idx_ac66f0 = 0; __idx_ac66f0 < value.size(); __idx_ac66f0++) { final java.lang.Object __val_ac66f0 = value.get(__idx_ac66f0); if ( !(__val_ac66f0 instanceof java.lang.Number) && !(__val_ac66f0 instanceof com.aliyun.ros.cdk.core.IResolvable) && !(__val_ac66f0.getClass().equals(software.amazon.jsii.JsiiObject.class)) ) { throw new IllegalArgumentException( new java.lang.StringBuilder("Expected ") .append("value").append(".get(").append(__idx_ac66f0).append(")") .append(" to be one of: java.lang.Number, com.aliyun.ros.cdk.core.IResolvable; received ") .append(__val_ac66f0.getClass()).toString()); } } } software.amazon.jsii.Kernel.set(this, "repeatDays", value); } /** */ public @org.jetbrains.annotations.Nullable java.lang.Object getRepeatEndTime() { return software.amazon.jsii.Kernel.get(this, "repeatEndTime", software.amazon.jsii.NativeType.forClass(java.lang.Object.class)); } /** */ public void setRepeatEndTime(final @org.jetbrains.annotations.Nullable java.lang.String value) { software.amazon.jsii.Kernel.set(this, "repeatEndTime", value); } /** */ public void setRepeatEndTime(final @org.jetbrains.annotations.Nullable com.aliyun.ros.cdk.core.IResolvable value) { software.amazon.jsii.Kernel.set(this, "repeatEndTime", value); } /** */ public @org.jetbrains.annotations.Nullable java.lang.Object getRepeatStartTime() { return software.amazon.jsii.Kernel.get(this, "repeatStartTime", software.amazon.jsii.NativeType.forClass(java.lang.Object.class)); } /** */ public void setRepeatStartTime(final @org.jetbrains.annotations.Nullable java.lang.String value) { software.amazon.jsii.Kernel.set(this, "repeatStartTime", value); } /** */ public void setRepeatStartTime(final @org.jetbrains.annotations.Nullable com.aliyun.ros.cdk.core.IResolvable value) { software.amazon.jsii.Kernel.set(this, "repeatStartTime", value); } /** */ public @org.jetbrains.annotations.Nullable java.lang.Object getRepeatType() { return software.amazon.jsii.Kernel.get(this, "repeatType", software.amazon.jsii.NativeType.forClass(java.lang.Object.class)); } /** */ public void setRepeatType(final @org.jetbrains.annotations.Nullable java.lang.String value) { software.amazon.jsii.Kernel.set(this, "repeatType", value); } /** */ public void setRepeatType(final @org.jetbrains.annotations.Nullable com.aliyun.ros.cdk.core.IResolvable value) { software.amazon.jsii.Kernel.set(this, "repeatType", value); } /** */ public @org.jetbrains.annotations.Nullable java.lang.Object getStartTime() { return software.amazon.jsii.Kernel.get(this, "startTime", software.amazon.jsii.NativeType.forClass(java.lang.Object.class)); } /** */ public void setStartTime(final @org.jetbrains.annotations.Nullable java.lang.Number value) { software.amazon.jsii.Kernel.set(this, "startTime", value); } /** */ public void setStartTime(final @org.jetbrains.annotations.Nullable com.aliyun.ros.cdk.core.IResolvable value) { software.amazon.jsii.Kernel.set(this, "startTime", value); } /** * A fluent builder for {@link com.aliyun.ros.cdk.cloudfw.RosControlPolicy}. */ 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.cloudfw.RosControlPolicyProps.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.cloudfw.RosControlPolicyProps.Builder(); } /** * @return {@code this} * @param aclAction This parameter is required. */ public Builder aclAction(final java.lang.String aclAction) { this.props.aclAction(aclAction); return this; } /** * @return {@code this} * @param aclAction This parameter is required. */ public Builder aclAction(final com.aliyun.ros.cdk.core.IResolvable aclAction) { this.props.aclAction(aclAction); 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 destination This parameter is required. */ public Builder destination(final java.lang.String destination) { this.props.destination(destination); return this; } /** * @return {@code this} * @param destination This parameter is required. */ public Builder destination(final com.aliyun.ros.cdk.core.IResolvable destination) { this.props.destination(destination); return this; } /** * @return {@code this} * @param destinationType This parameter is required. */ public Builder destinationType(final java.lang.String destinationType) { this.props.destinationType(destinationType); return this; } /** * @return {@code this} * @param destinationType This parameter is required. */ public Builder destinationType(final com.aliyun.ros.cdk.core.IResolvable destinationType) { this.props.destinationType(destinationType); return this; } /** * @return {@code this} * @param direction This parameter is required. */ public Builder direction(final java.lang.String direction) { this.props.direction(direction); return this; } /** * @return {@code this} * @param direction This parameter is required. */ public Builder direction(final com.aliyun.ros.cdk.core.IResolvable direction) { this.props.direction(direction); return this; } /** * @return {@code this} * @param newOrder This parameter is required. */ public Builder newOrder(final java.lang.Number newOrder) { this.props.newOrder(newOrder); return this; } /** * @return {@code this} * @param newOrder This parameter is required. */ public Builder newOrder(final com.aliyun.ros.cdk.core.IResolvable newOrder) { this.props.newOrder(newOrder); return this; } /** * @return {@code this} * @param proto This parameter is required. */ public Builder proto(final java.lang.String proto) { this.props.proto(proto); return this; } /** * @return {@code this} * @param proto This parameter is required. */ public Builder proto(final com.aliyun.ros.cdk.core.IResolvable proto) { this.props.proto(proto); return this; } /** * @return {@code this} * @param source This parameter is required. */ public Builder source(final java.lang.String source) { this.props.source(source); return this; } /** * @return {@code this} * @param source This parameter is required. */ public Builder source(final com.aliyun.ros.cdk.core.IResolvable source) { this.props.source(source); return this; } /** * @return {@code this} * @param sourceType This parameter is required. */ public Builder sourceType(final java.lang.String sourceType) { this.props.sourceType(sourceType); return this; } /** * @return {@code this} * @param sourceType This parameter is required. */ public Builder sourceType(final com.aliyun.ros.cdk.core.IResolvable sourceType) { this.props.sourceType(sourceType); return this; } /** * @return {@code this} * @param applicationName This parameter is required. */ public Builder applicationName(final java.lang.String applicationName) { this.props.applicationName(applicationName); return this; } /** * @return {@code this} * @param applicationName This parameter is required. */ public Builder applicationName(final com.aliyun.ros.cdk.core.IResolvable applicationName) { this.props.applicationName(applicationName); return this; } /** * @return {@code this} * @param applicationNameList This parameter is required. */ public Builder applicationNameList(final com.aliyun.ros.cdk.core.IResolvable applicationNameList) { this.props.applicationNameList(applicationNameList); return this; } /** * @return {@code this} * @param applicationNameList This parameter is required. */ public Builder applicationNameList(final java.util.List applicationNameList) { this.props.applicationNameList(applicationNameList); return this; } /** * @return {@code this} * @param destPort This parameter is required. */ public Builder destPort(final java.lang.String destPort) { this.props.destPort(destPort); return this; } /** * @return {@code this} * @param destPort This parameter is required. */ public Builder destPort(final com.aliyun.ros.cdk.core.IResolvable destPort) { this.props.destPort(destPort); return this; } /** * @return {@code this} * @param destPortGroup This parameter is required. */ public Builder destPortGroup(final java.lang.String destPortGroup) { this.props.destPortGroup(destPortGroup); return this; } /** * @return {@code this} * @param destPortGroup This parameter is required. */ public Builder destPortGroup(final com.aliyun.ros.cdk.core.IResolvable destPortGroup) { this.props.destPortGroup(destPortGroup); return this; } /** * @return {@code this} * @param destPortType This parameter is required. */ public Builder destPortType(final java.lang.String destPortType) { this.props.destPortType(destPortType); return this; } /** * @return {@code this} * @param destPortType This parameter is required. */ public Builder destPortType(final com.aliyun.ros.cdk.core.IResolvable destPortType) { this.props.destPortType(destPortType); return this; } /** * @return {@code this} * @param domainResolveType This parameter is required. */ public Builder domainResolveType(final java.lang.String domainResolveType) { this.props.domainResolveType(domainResolveType); return this; } /** * @return {@code this} * @param domainResolveType This parameter is required. */ public Builder domainResolveType(final com.aliyun.ros.cdk.core.IResolvable domainResolveType) { this.props.domainResolveType(domainResolveType); return this; } /** * @return {@code this} * @param endTime This parameter is required. */ public Builder endTime(final java.lang.Number endTime) { this.props.endTime(endTime); return this; } /** * @return {@code this} * @param endTime This parameter is required. */ public Builder endTime(final com.aliyun.ros.cdk.core.IResolvable endTime) { this.props.endTime(endTime); return this; } /** * @return {@code this} * @param ipVersion This parameter is required. */ public Builder ipVersion(final java.lang.String ipVersion) { this.props.ipVersion(ipVersion); return this; } /** * @return {@code this} * @param ipVersion This parameter is required. */ public Builder ipVersion(final com.aliyun.ros.cdk.core.IResolvable ipVersion) { this.props.ipVersion(ipVersion); return this; } /** * @return {@code this} * @param regionId This parameter is required. */ public Builder regionId(final java.lang.String regionId) { this.props.regionId(regionId); return this; } /** * @return {@code this} * @param regionId This parameter is required. */ public Builder regionId(final com.aliyun.ros.cdk.core.IResolvable regionId) { this.props.regionId(regionId); return this; } /** * @return {@code this} * @param release This parameter is required. */ public Builder release(final java.lang.Boolean release) { this.props.release(release); return this; } /** * @return {@code this} * @param release This parameter is required. */ public Builder release(final com.aliyun.ros.cdk.core.IResolvable release) { this.props.release(release); return this; } /** * @return {@code this} * @param repeatDays This parameter is required. */ public Builder repeatDays(final com.aliyun.ros.cdk.core.IResolvable repeatDays) { this.props.repeatDays(repeatDays); return this; } /** * @return {@code this} * @param repeatDays This parameter is required. */ public Builder repeatDays(final java.util.List repeatDays) { this.props.repeatDays(repeatDays); return this; } /** * @return {@code this} * @param repeatEndTime This parameter is required. */ public Builder repeatEndTime(final java.lang.String repeatEndTime) { this.props.repeatEndTime(repeatEndTime); return this; } /** * @return {@code this} * @param repeatEndTime This parameter is required. */ public Builder repeatEndTime(final com.aliyun.ros.cdk.core.IResolvable repeatEndTime) { this.props.repeatEndTime(repeatEndTime); return this; } /** * @return {@code this} * @param repeatStartTime This parameter is required. */ public Builder repeatStartTime(final java.lang.String repeatStartTime) { this.props.repeatStartTime(repeatStartTime); return this; } /** * @return {@code this} * @param repeatStartTime This parameter is required. */ public Builder repeatStartTime(final com.aliyun.ros.cdk.core.IResolvable repeatStartTime) { this.props.repeatStartTime(repeatStartTime); return this; } /** * @return {@code this} * @param repeatType This parameter is required. */ public Builder repeatType(final java.lang.String repeatType) { this.props.repeatType(repeatType); return this; } /** * @return {@code this} * @param repeatType This parameter is required. */ public Builder repeatType(final com.aliyun.ros.cdk.core.IResolvable repeatType) { this.props.repeatType(repeatType); return this; } /** * @return {@code this} * @param startTime This parameter is required. */ public Builder startTime(final java.lang.Number startTime) { this.props.startTime(startTime); return this; } /** * @return {@code this} * @param startTime This parameter is required. */ public Builder startTime(final com.aliyun.ros.cdk.core.IResolvable startTime) { this.props.startTime(startTime); return this; } /** * @return a newly built instance of {@link com.aliyun.ros.cdk.cloudfw.RosControlPolicy}. */ @Override public com.aliyun.ros.cdk.cloudfw.RosControlPolicy build() { return new com.aliyun.ros.cdk.cloudfw.RosControlPolicy( this.scope, this.id, this.props.build(), this.enableResourcePropertyConstraint ); } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy