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

com.ksyun.api.sdk.kec.model.DescribeInstancesResult Maven / Gradle / Ivy

There is a newer version: 2.1.8
Show newest version
package com.ksyun.api.sdk.kec.model;

import java.io.Serializable;
import java.util.List;

import lombok.EqualsAndHashCode;
import lombok.ToString;

import com.ksc.internal.SdkInternalList;

/**
 * 

* Contains the output of DescribeInstances. *

*/ @ToString @EqualsAndHashCode(callSuper = false) public class DescribeInstancesResult implements Serializable, Cloneable { private static final long serialVersionUID = -4895893764015706216L; private Integer Marker; private Integer InstanceCount; private String RequestId; private List InstancesSet = new SdkInternalList(); public DescribeInstancesResult withInstancesSet(Instance... instances) { for (Instance instance : instances) { this.InstancesSet.add(instance); } return this; } public Integer getMarker() { return Marker; } public void setMarker(Integer marker) { Marker = marker; } public Integer getInstanceCount() { return InstanceCount; } public void setInstanceCount(Integer instanceCount) { InstanceCount = instanceCount; } public String getRequestId() { return RequestId; } public void setRequestId(String requestId) { RequestId = requestId; } public List getInstancesSet() { return InstancesSet; } public void setInstancesSet(List instancesSet) { InstancesSet = instancesSet; } @Override public DescribeInstancesResult clone() { try { return (DescribeInstancesResult) super.clone(); } catch (CloneNotSupportedException e) { throw new IllegalStateException( "Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e); } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy