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

com.aliyun.sdk.service.dts20200101.models.DescribeClusterOperateLogsRequest Maven / Gradle / Ivy

There is a newer version: 1.0.18
Show newest version
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.dts20200101.models;

import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;

/**
 * {@link DescribeClusterOperateLogsRequest} extends {@link RequestModel}
 *
 * 

DescribeClusterOperateLogsRequest

*/ public class DescribeClusterOperateLogsRequest extends Request { @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("AccountId") private String accountId; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("ClientToken") private String clientToken; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("DedicatedClusterId") @com.aliyun.core.annotation.Validation(required = true) private String dedicatedClusterId; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("DtsJobId") private String dtsJobId; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("EndTime") private Long endTime; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("OwnerID") private String ownerID; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("PageNumber") private Integer pageNumber; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ResourceGroupId") private String resourceGroupId; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("StartTime") private Long startTime; private DescribeClusterOperateLogsRequest(Builder builder) { super(builder); this.accountId = builder.accountId; this.clientToken = builder.clientToken; this.dedicatedClusterId = builder.dedicatedClusterId; this.dtsJobId = builder.dtsJobId; this.endTime = builder.endTime; this.ownerID = builder.ownerID; this.pageNumber = builder.pageNumber; this.pageSize = builder.pageSize; this.resourceGroupId = builder.resourceGroupId; this.startTime = builder.startTime; } public static Builder builder() { return new Builder(); } public static DescribeClusterOperateLogsRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return accountId */ public String getAccountId() { return this.accountId; } /** * @return clientToken */ public String getClientToken() { return this.clientToken; } /** * @return dedicatedClusterId */ public String getDedicatedClusterId() { return this.dedicatedClusterId; } /** * @return dtsJobId */ public String getDtsJobId() { return this.dtsJobId; } /** * @return endTime */ public Long getEndTime() { return this.endTime; } /** * @return ownerID */ public String getOwnerID() { return this.ownerID; } /** * @return pageNumber */ public Integer getPageNumber() { return this.pageNumber; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return resourceGroupId */ public String getResourceGroupId() { return this.resourceGroupId; } /** * @return startTime */ public Long getStartTime() { return this.startTime; } public static final class Builder extends Request.Builder { private String accountId; private String clientToken; private String dedicatedClusterId; private String dtsJobId; private Long endTime; private String ownerID; private Integer pageNumber; private Integer pageSize; private String resourceGroupId; private Long startTime; private Builder() { super(); } private Builder(DescribeClusterOperateLogsRequest request) { super(request); this.accountId = request.accountId; this.clientToken = request.clientToken; this.dedicatedClusterId = request.dedicatedClusterId; this.dtsJobId = request.dtsJobId; this.endTime = request.endTime; this.ownerID = request.ownerID; this.pageNumber = request.pageNumber; this.pageSize = request.pageSize; this.resourceGroupId = request.resourceGroupId; this.startTime = request.startTime; } /** * The ID of the Alibaba Cloud account. */ public Builder accountId(String accountId) { this.putBodyParameter("AccountId", accountId); this.accountId = accountId; return this; } /** * The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. **The token can contain only ASCII characters and cannot exceed 64 characters in length. */ public Builder clientToken(String clientToken) { this.putBodyParameter("ClientToken", clientToken); this.clientToken = clientToken; return this; } /** * The ID of the DTS dedicated cluster on which a DTS task runs. */ public Builder dedicatedClusterId(String dedicatedClusterId) { this.putBodyParameter("DedicatedClusterId", dedicatedClusterId); this.dedicatedClusterId = dedicatedClusterId; return this; } /** * The ID of the data migration or synchronization task. */ public Builder dtsJobId(String dtsJobId) { this.putBodyParameter("DtsJobId", dtsJobId); this.dtsJobId = dtsJobId; return this; } /** * The end of the time range to query. The value must be in the UNIX timestamp format. Unit: milliseconds. */ public Builder endTime(Long endTime) { this.putBodyParameter("EndTime", endTime); this.endTime = endTime; return this; } /** * OwnerID. */ public Builder ownerID(String ownerID) { this.putBodyParameter("OwnerID", ownerID); this.ownerID = ownerID; return this; } /** * The number of the page to return. The value must be an integer that is greater than 0. Default value: **1**. */ public Builder pageNumber(Integer pageNumber) { this.putBodyParameter("PageNumber", pageNumber); this.pageNumber = pageNumber; return this; } /** * The number of entries to return on each page. Default value: **20**. */ public Builder pageSize(Integer pageSize) { this.putBodyParameter("PageSize", pageSize); this.pageSize = pageSize; return this; } /** * ResourceGroupId. */ public Builder resourceGroupId(String resourceGroupId) { this.putQueryParameter("ResourceGroupId", resourceGroupId); this.resourceGroupId = resourceGroupId; return this; } /** * The beginning of the time range to query. The value must be in the UNIX timestamp format. Unit: milliseconds. If you do not specify this parameter, the data within the last seven days is returned by default. */ public Builder startTime(Long startTime) { this.putBodyParameter("StartTime", startTime); this.startTime = startTime; return this; } @Override public DescribeClusterOperateLogsRequest build() { return new DescribeClusterOperateLogsRequest(this); } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy