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

com.aliyun.sdk.service.cs20151215.models.UpdateResourcesDeleteProtectionResponseBody Maven / Gradle / Ivy

There is a newer version: 2.0.29
Show newest version
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.cs20151215.models;

import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;

/**
 * {@link UpdateResourcesDeleteProtectionResponseBody} extends {@link TeaModel}
 *
 * 

UpdateResourcesDeleteProtectionResponseBody

*/ public class UpdateResourcesDeleteProtectionResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("namespace") private String namespace; @com.aliyun.core.annotation.NameInMap("protection") private String protection; @com.aliyun.core.annotation.NameInMap("requestId") private String requestId; @com.aliyun.core.annotation.NameInMap("resource_type") private String resourceType; @com.aliyun.core.annotation.NameInMap("resources") private java.util.List < String > resources; private UpdateResourcesDeleteProtectionResponseBody(Builder builder) { this.namespace = builder.namespace; this.protection = builder.protection; this.requestId = builder.requestId; this.resourceType = builder.resourceType; this.resources = builder.resources; } public static Builder builder() { return new Builder(); } public static UpdateResourcesDeleteProtectionResponseBody create() { return builder().build(); } /** * @return namespace */ public String getNamespace() { return this.namespace; } /** * @return protection */ public String getProtection() { return this.protection; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return resourceType */ public String getResourceType() { return this.resourceType; } /** * @return resources */ public java.util.List < String > getResources() { return this.resources; } public static final class Builder { private String namespace; private String protection; private String requestId; private String resourceType; private java.util.List < String > resources; /** * The namespace to which the resource belongs. */ public Builder namespace(String namespace) { this.namespace = namespace; return this; } /** * Indicates the status of deletion protection. A value of true indicates that deletion protection is enabled and a value of false indicates that deletion protection is disabled. */ public Builder protection(String protection) { this.protection = protection; return this; } /** * Id of the request */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * The type of resource for which deletion protection is enabled or disabled. */ public Builder resourceType(String resourceType) { this.resourceType = resourceType; return this; } /** * The list of resources whose deletion protection status is updated. */ public Builder resources(java.util.List < String > resources) { this.resources = resources; return this; } public UpdateResourcesDeleteProtectionResponseBody build() { return new UpdateResourcesDeleteProtectionResponseBody(this); } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy