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

com.ksc.network.slb.model.DescribeHealthChecksRequest Maven / Gradle / Ivy

There is a newer version: 2.1.8
Show newest version
package com.ksc.network.slb.model;

import com.ksc.KscWebServiceRequest;
import com.ksc.Request;
import com.ksc.model.DryRunSupportedRequest;
import com.ksc.model.Filter;
import com.ksc.network.slb.model.transform.DescribeHealthChecksRequestMarshaller;

import java.io.Serializable;

public class DescribeHealthChecksRequest extends KscWebServiceRequest
		implements Serializable, Cloneable, DryRunSupportedRequest {

	/**
	 * 
	 */
	private static final long serialVersionUID = 2681670918913999259L;
	/**
	 * 

* One or more filters. Filter names and values are case-sensitive. *

*
    *
  • *

    * listener-id - 监听器的ID *

    *
  • *
*/ private com.ksc.internal.SdkInternalList filters; /** *

* 健康检查的ID *

*

* Default: 描述region下所有的健康检查 *

*/ private com.ksc.internal.SdkInternalList healthCheckIds; public com.ksc.internal.SdkInternalList getFilters() { if (filters == null) { filters = new com.ksc.internal.SdkInternalList(); } return filters; } public void setFilters(com.ksc.internal.SdkInternalList filters) { this.filters = filters; } public com.ksc.internal.SdkInternalList getHealthCheckIds() { if (healthCheckIds == null) { healthCheckIds = new com.ksc.internal.SdkInternalList(); } return healthCheckIds; } public void setHealthCheckIds(com.ksc.internal.SdkInternalList healthCheckIds) { this.healthCheckIds = healthCheckIds; } public void addFilters(Filter... filters) { if (this.filters == null) { this.filters = new com.ksc.internal.SdkInternalList(); } for (Filter filter : filters) { this.filters.add(filter); } } public void addHealthCheckIds(String... healthCheckIds) { if (this.healthCheckIds == null) { this.healthCheckIds = new com.ksc.internal.SdkInternalList(); } for (String healthCheckId : healthCheckIds) { this.healthCheckIds.add(healthCheckId); } } @Override public Request getDryRunRequest() { Request request = new DescribeHealthChecksRequestMarshaller() .marshall(this); request.addParameter("DryRun", Boolean.toString(true)); return request; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy