com.aliyun.sdk.service.ecs20140526.models.GetInstanceConsoleOutputResponseBody Maven / Gradle / Ivy
Show all versions of alibabacloud-ecs20140526 Show documentation
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ecs20140526.models;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link GetInstanceConsoleOutputResponseBody} extends {@link TeaModel}
*
* GetInstanceConsoleOutputResponseBody
*/
public class GetInstanceConsoleOutputResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("ConsoleOutput")
private String consoleOutput;
@com.aliyun.core.annotation.NameInMap("InstanceId")
private String instanceId;
@com.aliyun.core.annotation.NameInMap("LastUpdateTime")
private String lastUpdateTime;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private GetInstanceConsoleOutputResponseBody(Builder builder) {
this.consoleOutput = builder.consoleOutput;
this.instanceId = builder.instanceId;
this.lastUpdateTime = builder.lastUpdateTime;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static GetInstanceConsoleOutputResponseBody create() {
return builder().build();
}
/**
* @return consoleOutput
*/
public String getConsoleOutput() {
return this.consoleOutput;
}
/**
* @return instanceId
*/
public String getInstanceId() {
return this.instanceId;
}
/**
* @return lastUpdateTime
*/
public String getLastUpdateTime() {
return this.lastUpdateTime;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private String consoleOutput;
private String instanceId;
private String lastUpdateTime;
private String requestId;
/**
* The Base64-encoded command output of the instance.
*
* example:
* V2VsY29tZSB0byBDZW50T1MgCgpDaGVja2luZyBmaWxlc3lzdGVtcwpDaGVja2luZyBhbGwgZmlsZSBzeXN0ZW1zLgpbL3NiaW4vZnNjay5leHQ0ICgxKSAtLSAvXSBmc2NrLmV4dDQgLWEgL2Rldi92ZGExIAovZGV2L3ZkYTE6IGNsZWFuLCAzMjAxNi8yNjIxNDQwIGZpbGVzLCA0NDc5NzQvMTA0ODU1MDQgYmxvY2tzCgpFbnRlcmluZyBub24taW50ZXJhY3RpdmUgc3RhcnR1cApDYWxsaW5nIHRoZSBzeXN0ZW0gYWN0aXZpdHkgZGF0YSBjb2xsZWN0b3IgKHNhZGMpLi4uIAoKQnJpbmdpbmcgdXAgaW50ZXJmYWNlIGV0aDA6ICAKRGV0ZXJtaW5pbmcgSVAgaW5mb3JtYXRpb24gZm9yIGV0aDAuLi4gZG9uZS4KCmFsaXl1bi1zZXJ2aWNlIHN0YXJ0L3J1bm5pbmcsIHByb2Nlc3MgMTczMwpmaW5pc2hlZAoKQ2VudE9TIHJlbGVhc2UgNi44IChGaW5hbCkKS2VybmVsIDIuNi4zMi02OTYuMy4yLmVsNi5pNjg2IG9uIGFuIGk2ODYKCmlaMnplZDk2ZTQ2MmF5cjBxeioqKioqIGxvZ2luOg==
*/
public Builder consoleOutput(String consoleOutput) {
this.consoleOutput = consoleOutput;
return this;
}
/**
* The instance ID.
*
* example:
* i-bp1c1xhsrac2coiw****
*/
public Builder instanceId(String instanceId) {
this.instanceId = instanceId;
return this;
}
/**
* The time when the last log entry was generated in the Linux kernel. The time follows the ISO 8601 standard in the yyyy-MM-ddThh:mmZ format. The time is displayed in UTC+8.
*
* example:
* 2018-03-22 10:04:57
*/
public Builder lastUpdateTime(String lastUpdateTime) {
this.lastUpdateTime = lastUpdateTime;
return this;
}
/**
* The request ID.
*
* example:
* 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public GetInstanceConsoleOutputResponseBody build() {
return new GetInstanceConsoleOutputResponseBody(this);
}
}
}