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

com.aliyun.ros.cdk.ros.ResourceCleaner Maven / Gradle / Ivy

Go to download

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

The newest version!
package com.aliyun.ros.cdk.ros;

/**
 * This class encapsulates and extends the ROS resource type ALIYUN::ROS::ResourceCleaner, which is used to create a resource cleaner.
 */
@javax.annotation.Generated(value = "jsii-pacmak/1.85.0 (build 08ee592)", date = "2024-12-13T06:45:11.460Z")
@software.amazon.jsii.Jsii(module = com.aliyun.ros.cdk.ros.$Module.class, fqn = "@alicloud/ros-cdk-ros.ResourceCleaner")
public class ResourceCleaner extends com.aliyun.ros.cdk.core.Resource {

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

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

    /**
     * Param scope - scope in which this resource is defined Param id    - scoped id of the resource Param props - resource properties.
     * 

* @param scope This parameter is required. * @param id This parameter is required. * @param props This parameter is required. * @param enableResourcePropertyConstraint */ public ResourceCleaner(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.ros.ResourceCleanerProps 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 }); } /** * Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties. *

* @param scope This parameter is required. * @param id This parameter is required. * @param props This parameter is required. */ public ResourceCleaner(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.ros.ResourceCleanerProps 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") }); } /** * Attribute CleanResult: The cleanup result. *

* Valid values: *

*

    *
  • Success: All resources are cleaned up successfully.
  • *
  • ResourceFailure: Partial resources fail to clean up.
  • *
  • Timeout: Timeout to clean up.
  • *
  • CheckFailure: Pre check of cleanup fails.
  • *
  • UnknownFailure: Unexpected failure.
  • *
  • UserCancelled: Cleanup is cancelled by user.
  • *
  • None: Cleanup is not triggered.
  • *
*/ public @org.jetbrains.annotations.NotNull com.aliyun.ros.cdk.core.IResolvable getAttrCleanResult() { return software.amazon.jsii.Kernel.get(this, "attrCleanResult", software.amazon.jsii.NativeType.forClass(com.aliyun.ros.cdk.core.IResolvable.class)); } /** * Attribute NoCleanupResourceDetails: The details of the resources that are scanned but filtered. *

* Only resources with the resource types ResourceCleaner supports and the regions not filtered are scanned. * The format is the same as ResourceDetails. */ public @org.jetbrains.annotations.NotNull com.aliyun.ros.cdk.core.IResolvable getAttrNoCleanupResourceDetails() { return software.amazon.jsii.Kernel.get(this, "attrNoCleanupResourceDetails", software.amazon.jsii.NativeType.forClass(com.aliyun.ros.cdk.core.IResolvable.class)); } /** * Attribute NoCleanupResourcePartialDetails: The partial details of the resources that are scanned but filtered. *

* Only resources with the resource types ResourceCleaner supports and the regions not filtered are scanned. * The format is the same as ResourcePartialDetails. */ public @org.jetbrains.annotations.NotNull com.aliyun.ros.cdk.core.IResolvable getAttrNoCleanupResourcePartialDetails() { return software.amazon.jsii.Kernel.get(this, "attrNoCleanupResourcePartialDetails", software.amazon.jsii.NativeType.forClass(com.aliyun.ros.cdk.core.IResolvable.class)); } /** * Attribute ResourceDetails: The details of resources to be cleaned up. *

* The value is a list of dict. The dict contains the fields below: *

*

    *
  • ResourceType: Resource type of the resource.
  • *
  • RegionId: Region ID of the resource.
  • *
  • ResourceId: ID of the resource.
  • *
  • ResourceName: Name of the resource.
  • *
  • CleanupType: Cleanup type of the resource. Valid values:
  • *
  • Normal: The resource can be deleted normally.
  • *
  • DeleteWithInstance: The resource will be deleted with the resource it belongs to. If the resource it belongs to is filtered or excluded, the deletion probably fails. CleanupTypeReasons give more information.
  • *
  • UnableToDelete: Unable to delete the resource. CleanupTypeReasons give more information.
  • *
  • CleanupTypeReasons: The information of the related CleanupType.
  • *
  • ResourceStatus: Status of the resource. Valid values:
  • *
  • Deleting: The resource is deleting.
  • *
  • Failure: The deletion of the resource failed.
  • *
  • Success: The resource is deleted.
  • *
  • Skipped: The deletion of the resource is skipped.
  • *
  • Pending: The deletion of the resource is not started.
  • *
  • ResourceStatusReason: The information of the related ResourceStatus.
  • *
  • Dependencies: The resources that need to be deleted before the deletion of the resource. The value is a list of dict. The dict contains the fields below:
  • *
  • ResourceType: Resource type of the dependency resource.
  • *
  • RegionId: Region ID of the dependency resource.
  • *
  • ResourceId: ID of the dependency resource.
  • *
*/ public @org.jetbrains.annotations.NotNull com.aliyun.ros.cdk.core.IResolvable getAttrResourceDetails() { return software.amazon.jsii.Kernel.get(this, "attrResourceDetails", software.amazon.jsii.NativeType.forClass(com.aliyun.ros.cdk.core.IResolvable.class)); } /** * Attribute ResourcePartialDetails: The partial details of resources to be cleaned up. *

* The value is a list of dict. The dict contains the fields below: *

*

    *
  • ResourceType: Resource type of the resource.
  • *
  • RegionId: Region ID of the resource.
  • *
  • ResourceId: ID of the resource.
  • *
  • ResourceName: Name of the resource.
  • *
  • ResourceStatus: Status of the resource. Valid values:
  • *
  • Deleting: The resource is deleting.
  • *
  • Failure: The deletion of the resource failed.
  • *
  • Success: The resource is deleted.
  • *
  • Skipped: The deletion of the resource is skipped.
  • *
  • Pending: The deletion of the resource is not started.
  • *
  • ResourceStatusReason: The information of the related ResourceStatus.
  • *
*/ public @org.jetbrains.annotations.NotNull com.aliyun.ros.cdk.core.IResolvable getAttrResourcePartialDetails() { return software.amazon.jsii.Kernel.get(this, "attrResourcePartialDetails", software.amazon.jsii.NativeType.forClass(com.aliyun.ros.cdk.core.IResolvable.class)); } /** * Attribute ResourceSummary: The details of resources to be cleaned up. *

* The value is a list of dict. The dict contains the fields below: *

*

    *
  • ResourceType: Resource type of the resources.
  • *
  • DeletingCount: Number of deleting resources of the resource type.
  • *
  • SuccessCount: Number of deleted resources of the resource type.
  • *
  • FailureCount: Number of resources that failed to delete of the resource type.
  • *
  • SkippedCount: Number of skipped resources of the resource type.
  • *
  • PendingCount: Number of resources that have not been deleted of the resource type.
  • *
  • OtherCount: Number of other resources of the resource type.
  • *
  • TotalCount: Number of total resources of the resource type.
  • *
*/ public @org.jetbrains.annotations.NotNull com.aliyun.ros.cdk.core.IResolvable getAttrResourceSummary() { return software.amazon.jsii.Kernel.get(this, "attrResourceSummary", software.amazon.jsii.NativeType.forClass(com.aliyun.ros.cdk.core.IResolvable.class)); } /** * Attribute ScanErrors: The scan errors. *

* It takes effect only when property Mode is Loose. * The value is a list of dict. The dict contains the fields below: *

*

    *
  • ResourceType: Resource type for scanning.
  • *
  • RegionId: Region ID for scanning.
  • *
  • ErrorMessage: Error message of scanning with specified resource type and region ID.
  • *
*/ public @org.jetbrains.annotations.NotNull com.aliyun.ros.cdk.core.IResolvable getAttrScanErrors() { return software.amazon.jsii.Kernel.get(this, "attrScanErrors", software.amazon.jsii.NativeType.forClass(com.aliyun.ros.cdk.core.IResolvable.class)); } protected @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)); } protected 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")); } protected @org.jetbrains.annotations.NotNull java.lang.String getId() { return software.amazon.jsii.Kernel.get(this, "id", software.amazon.jsii.NativeType.forClass(java.lang.String.class)); } protected void setId(final @org.jetbrains.annotations.NotNull java.lang.String value) { software.amazon.jsii.Kernel.set(this, "id", java.util.Objects.requireNonNull(value, "id is required")); } protected @org.jetbrains.annotations.NotNull com.aliyun.ros.cdk.ros.ResourceCleanerProps getProps() { return software.amazon.jsii.Kernel.get(this, "props", software.amazon.jsii.NativeType.forClass(com.aliyun.ros.cdk.ros.ResourceCleanerProps.class)); } protected void setProps(final @org.jetbrains.annotations.NotNull com.aliyun.ros.cdk.ros.ResourceCleanerProps value) { software.amazon.jsii.Kernel.set(this, "props", java.util.Objects.requireNonNull(value, "props is required")); } protected @org.jetbrains.annotations.NotNull com.aliyun.ros.cdk.core.Construct getScope() { return software.amazon.jsii.Kernel.get(this, "scope", software.amazon.jsii.NativeType.forClass(com.aliyun.ros.cdk.core.Construct.class)); } protected void setScope(final @org.jetbrains.annotations.NotNull com.aliyun.ros.cdk.core.Construct value) { software.amazon.jsii.Kernel.set(this, "scope", java.util.Objects.requireNonNull(value, "scope is required")); } /** * A fluent builder for {@link com.aliyun.ros.cdk.ros.ResourceCleaner}. */ public static final class Builder implements software.amazon.jsii.Builder { /** * @return a new instance of {@link Builder}. * @param scope This parameter is required. * @param id 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 This parameter is required. * @param id 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.ros.ResourceCleanerProps.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.ros.ResourceCleanerProps.Builder(); } /** * Property action: Resource cleaner actions: - Scan: Scanning phase. *

* Scan out the resources to be cleaned up. *

*

    *
  • CleanUp: Cleanup phase. Clean up the scanned resources. It it not allowed for resource creation.
  • *
  • Scan+CleanUp: Scan first, then CleanUp.
  • *
  • ScanWhenCreatingAndUpdating+CleanUpWhenDeleting: Scan when creating or updating resource, and CleanUp when deleting stack.
  • *
*

* @return {@code this} * @param action Property action: Resource cleaner actions: - Scan: Scanning phase. This parameter is required. */ public Builder action(final java.lang.String action) { this.props.action(action); return this; } /** * Property action: Resource cleaner actions: - Scan: Scanning phase. *

* Scan out the resources to be cleaned up. *

*

    *
  • CleanUp: Cleanup phase. Clean up the scanned resources. It it not allowed for resource creation.
  • *
  • Scan+CleanUp: Scan first, then CleanUp.
  • *
  • ScanWhenCreatingAndUpdating+CleanUpWhenDeleting: Scan when creating or updating resource, and CleanUp when deleting stack.
  • *
*

* @return {@code this} * @param action Property action: Resource cleaner actions: - Scan: Scanning phase. This parameter is required. */ public Builder action(final com.aliyun.ros.cdk.core.IResolvable action) { this.props.action(action); return this; } /** * Property cleanUpAlgorithm: The cleanup algorithm of cleanup phase: - ResourceDependency: Clean up by resource dependency tree. *

*

    *
  • ResourceTypeOrder: Clean up by resource type order. Property ResourceTypeOrder can be used to specify resource type order. If it is not specified, a default order will be used. * Default to ResourceDependency.
  • *
*

* @return {@code this} * @param cleanUpAlgorithm Property cleanUpAlgorithm: The cleanup algorithm of cleanup phase: - ResourceDependency: Clean up by resource dependency tree. This parameter is required. */ public Builder cleanUpAlgorithm(final java.lang.String cleanUpAlgorithm) { this.props.cleanUpAlgorithm(cleanUpAlgorithm); return this; } /** * Property cleanUpAlgorithm: The cleanup algorithm of cleanup phase: - ResourceDependency: Clean up by resource dependency tree. *

*

    *
  • ResourceTypeOrder: Clean up by resource type order. Property ResourceTypeOrder can be used to specify resource type order. If it is not specified, a default order will be used. * Default to ResourceDependency.
  • *
*

* @return {@code this} * @param cleanUpAlgorithm Property cleanUpAlgorithm: The cleanup algorithm of cleanup phase: - ResourceDependency: Clean up by resource dependency tree. This parameter is required. */ public Builder cleanUpAlgorithm(final com.aliyun.ros.cdk.core.IResolvable cleanUpAlgorithm) { this.props.cleanUpAlgorithm(cleanUpAlgorithm); return this; } /** * Property cleanUpRetryCount: The maximum number of executions of cleanup phase. *

* Default to 1, which means no retry. * Conditions that trigger a retry: (the relationship is or) * 1.There are resources which fail to be cleaned up. * 2.The cleanup is timeout. *

* @return {@code this} * @param cleanUpRetryCount Property cleanUpRetryCount: The maximum number of executions of cleanup phase. This parameter is required. */ public Builder cleanUpRetryCount(final java.lang.Number cleanUpRetryCount) { this.props.cleanUpRetryCount(cleanUpRetryCount); return this; } /** * Property cleanUpRetryCount: The maximum number of executions of cleanup phase. *

* Default to 1, which means no retry. * Conditions that trigger a retry: (the relationship is or) * 1.There are resources which fail to be cleaned up. * 2.The cleanup is timeout. *

* @return {@code this} * @param cleanUpRetryCount Property cleanUpRetryCount: The maximum number of executions of cleanup phase. This parameter is required. */ public Builder cleanUpRetryCount(final com.aliyun.ros.cdk.core.IResolvable cleanUpRetryCount) { this.props.cleanUpRetryCount(cleanUpRetryCount); return this; } /** * Property cleanUpTimeout: The timeout seconds of executions of cleanup phase. *

* Default to 1 hour. *

* @return {@code this} * @param cleanUpTimeout Property cleanUpTimeout: The timeout seconds of executions of cleanup phase. This parameter is required. */ public Builder cleanUpTimeout(final java.lang.Number cleanUpTimeout) { this.props.cleanUpTimeout(cleanUpTimeout); return this; } /** * Property cleanUpTimeout: The timeout seconds of executions of cleanup phase. *

* Default to 1 hour. *

* @return {@code this} * @param cleanUpTimeout Property cleanUpTimeout: The timeout seconds of executions of cleanup phase. This parameter is required. */ public Builder cleanUpTimeout(final com.aliyun.ros.cdk.core.IResolvable cleanUpTimeout) { this.props.cleanUpTimeout(cleanUpTimeout); return this; } /** * Property disabledSideEffects: Side effects to be disabled. *

* Cleaning up some resources will cause some side effects. If is not expected, use the property to disable them. * The side effects can be found in response(ResourceCleaner) of API GetFeatureDetails. *

* @return {@code this} * @param disabledSideEffects Property disabledSideEffects: Side effects to be disabled. This parameter is required. */ public Builder disabledSideEffects(final com.aliyun.ros.cdk.core.IResolvable disabledSideEffects) { this.props.disabledSideEffects(disabledSideEffects); return this; } /** * Property disabledSideEffects: Side effects to be disabled. *

* Cleaning up some resources will cause some side effects. If is not expected, use the property to disable them. * The side effects can be found in response(ResourceCleaner) of API GetFeatureDetails. *

* @return {@code this} * @param disabledSideEffects Property disabledSideEffects: Side effects to be disabled. This parameter is required. */ public Builder disabledSideEffects(final java.util.List disabledSideEffects) { this.props.disabledSideEffects(disabledSideEffects); return this; } /** * Property excludedResources: Exclude parts from resources to be cleaned up. *

* @return {@code this} * @param excludedResources Property excludedResources: Exclude parts from resources to be cleaned up. This parameter is required. */ public Builder excludedResources(final com.aliyun.ros.cdk.core.IResolvable excludedResources) { this.props.excludedResources(excludedResources); return this; } /** * Property excludedResources: Exclude parts from resources to be cleaned up. *

* @return {@code this} * @param excludedResources Property excludedResources: Exclude parts from resources to be cleaned up. This parameter is required. */ public Builder excludedResources(final java.util.List excludedResources) { this.props.excludedResources(excludedResources); return this; } /** * Property failureOption: The failure option of cleanup phase: - Normal: Resource failure does not affect the resources that depend on it. *

*

    *
  • Fast: Resource failure causes all resources that depend on it to fail. * Default to Normal.
  • *
*

* @return {@code this} * @param failureOption Property failureOption: The failure option of cleanup phase: - Normal: Resource failure does not affect the resources that depend on it. This parameter is required. */ public Builder failureOption(final java.lang.String failureOption) { this.props.failureOption(failureOption); return this; } /** * Property failureOption: The failure option of cleanup phase: - Normal: Resource failure does not affect the resources that depend on it. *

*

    *
  • Fast: Resource failure causes all resources that depend on it to fail. * Default to Normal.
  • *
*

* @return {@code this} * @param failureOption Property failureOption: The failure option of cleanup phase: - Normal: Resource failure does not affect the resources that depend on it. This parameter is required. */ public Builder failureOption(final com.aliyun.ros.cdk.core.IResolvable failureOption) { this.props.failureOption(failureOption); return this; } /** * Property mode: The result mode of resource cleaner: - Strict: Any scanning or cleanup failure leads to the failure of the cleaner. *

*

    *
  • Loose: Only a little scanning and cleanup failures lead to the failure of the cleaner. Most scanning failures will be ignored, failure messages can be found in ScanErrors or ResourceDetails. Most cleanup failures will be ignored, failure messages can be found in ResourceDetails. * Default to Loose.
  • *
*

* @return {@code this} * @param mode Property mode: The result mode of resource cleaner: - Strict: Any scanning or cleanup failure leads to the failure of the cleaner. This parameter is required. */ public Builder mode(final java.lang.String mode) { this.props.mode(mode); return this; } /** * Property mode: The result mode of resource cleaner: - Strict: Any scanning or cleanup failure leads to the failure of the cleaner. *

*

    *
  • Loose: Only a little scanning and cleanup failures lead to the failure of the cleaner. Most scanning failures will be ignored, failure messages can be found in ScanErrors or ResourceDetails. Most cleanup failures will be ignored, failure messages can be found in ResourceDetails. * Default to Loose.
  • *
*

* @return {@code this} * @param mode Property mode: The result mode of resource cleaner: - Strict: Any scanning or cleanup failure leads to the failure of the cleaner. This parameter is required. */ public Builder mode(final com.aliyun.ros.cdk.core.IResolvable mode) { this.props.mode(mode); return this; } /** * Property resourceFilters: Resource filters that ResourceCleaner uses to filter out the resources to be cleaned up during scanning. *

* Only one of ResourceFilters and Resources can be specified. * There are two filtering behaviors(Effect): Allow and Deny. The filters work as below: * 1.Any resource denied by any Deny filter will not be cleaned up. * 2.Only resources allowed by some Allow filter and not denied by any Deny filter will be cleaned up. * If filters are changed during resource update, ResourceCleaner requires to rescan. And if Action equals CleanUp, an error occurs. *

* @return {@code this} * @param resourceFilters Property resourceFilters: Resource filters that ResourceCleaner uses to filter out the resources to be cleaned up during scanning. This parameter is required. */ public Builder resourceFilters(final com.aliyun.ros.cdk.core.IResolvable resourceFilters) { this.props.resourceFilters(resourceFilters); return this; } /** * Property resourceFilters: Resource filters that ResourceCleaner uses to filter out the resources to be cleaned up during scanning. *

* Only one of ResourceFilters and Resources can be specified. * There are two filtering behaviors(Effect): Allow and Deny. The filters work as below: * 1.Any resource denied by any Deny filter will not be cleaned up. * 2.Only resources allowed by some Allow filter and not denied by any Deny filter will be cleaned up. * If filters are changed during resource update, ResourceCleaner requires to rescan. And if Action equals CleanUp, an error occurs. *

* @return {@code this} * @param resourceFilters Property resourceFilters: Resource filters that ResourceCleaner uses to filter out the resources to be cleaned up during scanning. This parameter is required. */ public Builder resourceFilters(final java.util.List resourceFilters) { this.props.resourceFilters(resourceFilters); return this; } /** * Property resources: Resources to be cleaned up. *

* Only one of Resources and ResourceFilters can be specified. *

* @return {@code this} * @param resources Property resources: Resources to be cleaned up. This parameter is required. */ public Builder resources(final com.aliyun.ros.cdk.core.IResolvable resources) { this.props.resources(resources); return this; } /** * Property resources: Resources to be cleaned up. *

* Only one of Resources and ResourceFilters can be specified. *

* @return {@code this} * @param resources Property resources: Resources to be cleaned up. This parameter is required. */ public Builder resources(final java.util.List resources) { this.props.resources(resources); return this; } /** * Property resourceTypeOrder: This property takes effect only when property CleanUpAlgorithm is ResourceTypeOrder. *

* If it takes effect: *

*

    *
  • Resources will be cleaned up in order from front to back.
  • *
  • Resource with resource type not specified in this property will not be cleaned up.
  • *
*

* @return {@code this} * @param resourceTypeOrder Property resourceTypeOrder: This property takes effect only when property CleanUpAlgorithm is ResourceTypeOrder. This parameter is required. */ public Builder resourceTypeOrder(final com.aliyun.ros.cdk.core.IResolvable resourceTypeOrder) { this.props.resourceTypeOrder(resourceTypeOrder); return this; } /** * Property resourceTypeOrder: This property takes effect only when property CleanUpAlgorithm is ResourceTypeOrder. *

* If it takes effect: *

*

    *
  • Resources will be cleaned up in order from front to back.
  • *
  • Resource with resource type not specified in this property will not be cleaned up.
  • *
*

* @return {@code this} * @param resourceTypeOrder Property resourceTypeOrder: This property takes effect only when property CleanUpAlgorithm is ResourceTypeOrder. This parameter is required. */ public Builder resourceTypeOrder(final java.util.List resourceTypeOrder) { this.props.resourceTypeOrder(resourceTypeOrder); return this; } /** * @return a newly built instance of {@link com.aliyun.ros.cdk.ros.ResourceCleaner}. */ @Override public com.aliyun.ros.cdk.ros.ResourceCleaner build() { return new com.aliyun.ros.cdk.ros.ResourceCleaner( this.scope, this.id, this.props.build(), this.enableResourcePropertyConstraint ); } } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy