com.ksyun.api.sdk.kec.model.RunInstancesResult Maven / Gradle / Ivy
package com.ksyun.api.sdk.kec.model;
import com.ksc.internal.SdkInternalList;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import java.io.Serializable;
/**
*
* Contains the output of RunInstances.
*
*/
@ToString
@EqualsAndHashCode(callSuper = false)
public class RunInstancesResult implements Serializable, Cloneable {
/**
*
*/
private static final long serialVersionUID = 8740240775077779232L;
private String RequestId;
private com.ksc.internal.SdkInternalList InstancesSet;
public String getRequestId() {
return RequestId;
}
public void setRequestId(String requestId) {
RequestId = requestId;
}
public com.ksc.internal.SdkInternalList getInstancesSet() {
return InstancesSet;
}
public void setInstancesSet(com.ksc.internal.SdkInternalList instancesSet) {
InstancesSet = instancesSet;
}
public RunInstancesResult withInstancesSet(Instance... instances) {
if (this.InstancesSet == null) {
this.InstancesSet = new SdkInternalList();
}
for (Instance instance : instances) {
this.InstancesSet.add(instance);
}
return this;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy