com.aliyuncs.sae.model.v20190506.UpdateApplicationScalingRuleResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aliyun-java-sdk-sae Show documentation
Show all versions of aliyun-java-sdk-sae Show documentation
Aliyun Open API SDK for Java
Copyright (C) Alibaba Cloud Computing
All rights reserved.
版权所有 (C)阿里云计算有限公司
http://www.aliyun.com
The newest version!
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.sae.model.v20190506;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.sae.transform.v20190506.UpdateApplicationScalingRuleResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class UpdateApplicationScalingRuleResponse extends AcsResponse {
private String requestId;
private String traceId;
private String message;
private String errorCode;
private String code;
private Boolean success;
private Data data;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getTraceId() {
return this.traceId;
}
public void setTraceId(String traceId) {
this.traceId = traceId;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public String getErrorCode() {
return this.errorCode;
}
public void setErrorCode(String errorCode) {
this.errorCode = errorCode;
}
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public Boolean getSuccess() {
return this.success;
}
public void setSuccess(Boolean success) {
this.success = success;
}
public Data getData() {
return this.data;
}
public void setData(Data data) {
this.data = data;
}
public static class Data {
private Long updateTime;
private String appId;
private Long createTime;
private Long lastDisableTime;
private Boolean scaleRuleEnabled;
private String scaleRuleType;
private String scaleRuleName;
private Boolean enableIdle;
private Timer timer;
private Metric metric;
public Long getUpdateTime() {
return this.updateTime;
}
public void setUpdateTime(Long updateTime) {
this.updateTime = updateTime;
}
public String getAppId() {
return this.appId;
}
public void setAppId(String appId) {
this.appId = appId;
}
public Long getCreateTime() {
return this.createTime;
}
public void setCreateTime(Long createTime) {
this.createTime = createTime;
}
public Long getLastDisableTime() {
return this.lastDisableTime;
}
public void setLastDisableTime(Long lastDisableTime) {
this.lastDisableTime = lastDisableTime;
}
public Boolean getScaleRuleEnabled() {
return this.scaleRuleEnabled;
}
public void setScaleRuleEnabled(Boolean scaleRuleEnabled) {
this.scaleRuleEnabled = scaleRuleEnabled;
}
public String getScaleRuleType() {
return this.scaleRuleType;
}
public void setScaleRuleType(String scaleRuleType) {
this.scaleRuleType = scaleRuleType;
}
public String getScaleRuleName() {
return this.scaleRuleName;
}
public void setScaleRuleName(String scaleRuleName) {
this.scaleRuleName = scaleRuleName;
}
public Boolean getEnableIdle() {
return this.enableIdle;
}
public void setEnableIdle(Boolean enableIdle) {
this.enableIdle = enableIdle;
}
public Timer getTimer() {
return this.timer;
}
public void setTimer(Timer timer) {
this.timer = timer;
}
public Metric getMetric() {
return this.metric;
}
public void setMetric(Metric metric) {
this.metric = metric;
}
public static class Timer {
private String endDate;
private String beginDate;
private String period;
private List schedules;
public String getEndDate() {
return this.endDate;
}
public void setEndDate(String endDate) {
this.endDate = endDate;
}
public String getBeginDate() {
return this.beginDate;
}
public void setBeginDate(String beginDate) {
this.beginDate = beginDate;
}
public String getPeriod() {
return this.period;
}
public void setPeriod(String period) {
this.period = period;
}
public List getSchedules() {
return this.schedules;
}
public void setSchedules(List schedules) {
this.schedules = schedules;
}
public static class Schedule {
private String atTime;
private Integer targetReplicas;
private Integer minReplicas;
private Integer maxReplicas;
public String getAtTime() {
return this.atTime;
}
public void setAtTime(String atTime) {
this.atTime = atTime;
}
public Integer getTargetReplicas() {
return this.targetReplicas;
}
public void setTargetReplicas(Integer targetReplicas) {
this.targetReplicas = targetReplicas;
}
public Integer getMinReplicas() {
return this.minReplicas;
}
public void setMinReplicas(Integer minReplicas) {
this.minReplicas = minReplicas;
}
public Integer getMaxReplicas() {
return this.maxReplicas;
}
public void setMaxReplicas(Integer maxReplicas) {
this.maxReplicas = maxReplicas;
}
}
}
public static class Metric {
private Integer maxReplicas;
private Integer minReplicas;
private List metrics;
public Integer getMaxReplicas() {
return this.maxReplicas;
}
public void setMaxReplicas(Integer maxReplicas) {
this.maxReplicas = maxReplicas;
}
public Integer getMinReplicas() {
return this.minReplicas;
}
public void setMinReplicas(Integer minReplicas) {
this.minReplicas = minReplicas;
}
public List getMetrics() {
return this.metrics;
}
public void setMetrics(List metrics) {
this.metrics = metrics;
}
public static class Metric1 {
private Integer metricTargetAverageUtilization;
private String metricType;
private String slbProject;
private String slbLogstore;
private String vport;
private String slbId;
public Integer getMetricTargetAverageUtilization() {
return this.metricTargetAverageUtilization;
}
public void setMetricTargetAverageUtilization(Integer metricTargetAverageUtilization) {
this.metricTargetAverageUtilization = metricTargetAverageUtilization;
}
public String getMetricType() {
return this.metricType;
}
public void setMetricType(String metricType) {
this.metricType = metricType;
}
public String getSlbProject() {
return this.slbProject;
}
public void setSlbProject(String slbProject) {
this.slbProject = slbProject;
}
public String getSlbLogstore() {
return this.slbLogstore;
}
public void setSlbLogstore(String slbLogstore) {
this.slbLogstore = slbLogstore;
}
public String getVport() {
return this.vport;
}
public void setVport(String vport) {
this.vport = vport;
}
public String getSlbId() {
return this.slbId;
}
public void setSlbId(String slbId) {
this.slbId = slbId;
}
}
}
}
@Override
public UpdateApplicationScalingRuleResponse getInstance(UnmarshallerContext context) {
return UpdateApplicationScalingRuleResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy