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

com.aliyun.sdk.service.waf_openapi20211001.models.DescribeCloudResourcesResponseBody Maven / Gradle / Ivy

// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.waf_openapi20211001.models;

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

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

DescribeCloudResourcesResponseBody

*/ public class DescribeCloudResourcesResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("CloudResources") private java.util.List < CloudResources> cloudResources; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("TotalCount") private Long totalCount; private DescribeCloudResourcesResponseBody(Builder builder) { this.cloudResources = builder.cloudResources; this.requestId = builder.requestId; this.totalCount = builder.totalCount; } public static Builder builder() { return new Builder(); } public static DescribeCloudResourcesResponseBody create() { return builder().build(); } /** * @return cloudResources */ public java.util.List < CloudResources> getCloudResources() { return this.cloudResources; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return totalCount */ public Long getTotalCount() { return this.totalCount; } public static final class Builder { private java.util.List < CloudResources> cloudResources; private String requestId; private Long totalCount; /** *

The cloud service resources that are added to WAF.

*/ public Builder cloudResources(java.util.List < CloudResources> cloudResources) { this.cloudResources = cloudResources; return this; } /** *

The request ID.

* * example: *

C327F81A-CCE2-5B21-817C-F93E29C5****

*/ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** *

The total number of cloud service resources returned.

* * example: *

121

*/ public Builder totalCount(Long totalCount) { this.totalCount = totalCount; return this; } public DescribeCloudResourcesResponseBody build() { return new DescribeCloudResourcesResponseBody(this); } } /** * * {@link DescribeCloudResourcesResponseBody} extends {@link TeaModel} * *

DescribeCloudResourcesResponseBody

*/ public static class CloudResources extends TeaModel { @com.aliyun.core.annotation.NameInMap("HttpPortCount") private Integer httpPortCount; @com.aliyun.core.annotation.NameInMap("HttpsPortCount") private Integer httpsPortCount; @com.aliyun.core.annotation.NameInMap("OwnerUserId") private String ownerUserId; @com.aliyun.core.annotation.NameInMap("ResourceDomain") private String resourceDomain; @com.aliyun.core.annotation.NameInMap("ResourceFunction") private String resourceFunction; @com.aliyun.core.annotation.NameInMap("ResourceInstance") @Deprecated private String resourceInstance; @com.aliyun.core.annotation.NameInMap("ResourceInstanceId") private String resourceInstanceId; @com.aliyun.core.annotation.NameInMap("ResourceInstanceIp") private String resourceInstanceIp; @com.aliyun.core.annotation.NameInMap("ResourceInstanceName") private String resourceInstanceName; @com.aliyun.core.annotation.NameInMap("ResourceName") @Deprecated private String resourceName; @com.aliyun.core.annotation.NameInMap("ResourceProduct") private String resourceProduct; @com.aliyun.core.annotation.NameInMap("ResourceRegionId") private String resourceRegionId; @com.aliyun.core.annotation.NameInMap("ResourceRouteName") private String resourceRouteName; @com.aliyun.core.annotation.NameInMap("ResourceService") private String resourceService; private CloudResources(Builder builder) { this.httpPortCount = builder.httpPortCount; this.httpsPortCount = builder.httpsPortCount; this.ownerUserId = builder.ownerUserId; this.resourceDomain = builder.resourceDomain; this.resourceFunction = builder.resourceFunction; this.resourceInstance = builder.resourceInstance; this.resourceInstanceId = builder.resourceInstanceId; this.resourceInstanceIp = builder.resourceInstanceIp; this.resourceInstanceName = builder.resourceInstanceName; this.resourceName = builder.resourceName; this.resourceProduct = builder.resourceProduct; this.resourceRegionId = builder.resourceRegionId; this.resourceRouteName = builder.resourceRouteName; this.resourceService = builder.resourceService; } public static Builder builder() { return new Builder(); } public static CloudResources create() { return builder().build(); } /** * @return httpPortCount */ public Integer getHttpPortCount() { return this.httpPortCount; } /** * @return httpsPortCount */ public Integer getHttpsPortCount() { return this.httpsPortCount; } /** * @return ownerUserId */ public String getOwnerUserId() { return this.ownerUserId; } /** * @return resourceDomain */ public String getResourceDomain() { return this.resourceDomain; } /** * @return resourceFunction */ public String getResourceFunction() { return this.resourceFunction; } /** * @return resourceInstance */ public String getResourceInstance() { return this.resourceInstance; } /** * @return resourceInstanceId */ public String getResourceInstanceId() { return this.resourceInstanceId; } /** * @return resourceInstanceIp */ public String getResourceInstanceIp() { return this.resourceInstanceIp; } /** * @return resourceInstanceName */ public String getResourceInstanceName() { return this.resourceInstanceName; } /** * @return resourceName */ public String getResourceName() { return this.resourceName; } /** * @return resourceProduct */ public String getResourceProduct() { return this.resourceProduct; } /** * @return resourceRegionId */ public String getResourceRegionId() { return this.resourceRegionId; } /** * @return resourceRouteName */ public String getResourceRouteName() { return this.resourceRouteName; } /** * @return resourceService */ public String getResourceService() { return this.resourceService; } public static final class Builder { private Integer httpPortCount; private Integer httpsPortCount; private String ownerUserId; private String resourceDomain; private String resourceFunction; private String resourceInstance; private String resourceInstanceId; private String resourceInstanceIp; private String resourceInstanceName; private String resourceName; private String resourceProduct; private String resourceRegionId; private String resourceRouteName; private String resourceService; /** *

The number of the HTTP ports that are added to WAF.

*
*

This parameter is returned only if the cloud service is ECS or CLB.

*
* * example: *

1

*/ public Builder httpPortCount(Integer httpPortCount) { this.httpPortCount = httpPortCount; return this; } /** *

The number of the HTTPS ports that are added to WAF.

*
*

This parameter is returned only if the cloud service is ECS or CLB.

*
* * example: *

1

*/ public Builder httpsPortCount(Integer httpsPortCount) { this.httpsPortCount = httpsPortCount; return this; } /** *

The ID of the Alibaba Cloud account to which the resource belongs.

* * example: *

11769793******

*/ public Builder ownerUserId(String ownerUserId) { this.ownerUserId = ownerUserId; return this; } /** *

The domain name. This parameter has a value only if the value of ResourceProduct is fc or sae.

* * example: *

test-resource-domain

*/ public Builder resourceDomain(String resourceDomain) { this.resourceDomain = resourceDomain; return this; } /** *

The function name. This parameter has a value only if the value of ResourceProduct is fc.

* * example: *

test-resource-function

*/ public Builder resourceFunction(String resourceFunction) { this.resourceFunction = resourceFunction; return this; } /** *

The ID of the resource.

* * example: *

alb-ffff****

*/ public Builder resourceInstance(String resourceInstance) { this.resourceInstance = resourceInstance; return this; } /** *

The ID of the instance that is added to WAF.

* * example: *

lb-uf60ub45fr9b***

*/ public Builder resourceInstanceId(String resourceInstanceId) { this.resourceInstanceId = resourceInstanceId; return this; } /** *

The IP address of the instance that is added to WAF.

* * example: *

1.1.1.1

*/ public Builder resourceInstanceIp(String resourceInstanceIp) { this.resourceInstanceIp = resourceInstanceIp; return this; } /** *

The name of the instance that is added to WAF.

* * example: *

test-name

*/ public Builder resourceInstanceName(String resourceInstanceName) { this.resourceInstanceName = resourceInstanceName; return this; } /** *

The name of the resource.

* * example: *

test-resource-name

*/ public Builder resourceName(String resourceName) { this.resourceName = resourceName; return this; } /** *

The cloud service to which the resource belongs. Valid values:

*
    *
  • alb: ALB.
  • *
  • mse: MSE.
  • *
  • fc: Function Compute.
  • *
  • sae: SAE.
  • *
  • ecs: ECS.
  • *
  • clb4: Layer 4 CLB.
  • *
  • clb7: Layer 7 CLB.
  • *
* * example: *

alb

*/ public Builder resourceProduct(String resourceProduct) { this.resourceProduct = resourceProduct; return this; } /** *

The region ID of the resource.

* * example: *

cn-hangzhou

*/ public Builder resourceRegionId(String resourceRegionId) { this.resourceRegionId = resourceRegionId; return this; } /** *

The route name. This parameter has a value only if the value of ResourceProduct is mse.

* * example: *

test-route-name

*/ public Builder resourceRouteName(String resourceRouteName) { this.resourceRouteName = resourceRouteName; return this; } /** *

The service name. This parameter has a value only if the value of ResourceProduct is fc.

* * example: *

test-resource-service

*/ public Builder resourceService(String resourceService) { this.resourceService = resourceService; return this; } public CloudResources build() { return new CloudResources(this); } } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy