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

com.aliyun.sdk.service.hbase20170115.models.ModifyBackupPolicyRequest Maven / Gradle / Ivy

The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.hbase20170115.models;

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

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

ModifyBackupPolicyRequest

*/ public class ModifyBackupPolicyRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ClientToken") private String clientToken; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ClusterId") @com.aliyun.core.annotation.Validation(required = true) private String clusterId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("OwnerId") private Long ownerId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PreferredBackupEndTimeUTC") private String preferredBackupEndTimeUTC; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PreferredBackupPeriod") @com.aliyun.core.annotation.Validation(required = true) private String preferredBackupPeriod; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PreferredBackupStartTimeUTC") private String preferredBackupStartTimeUTC; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PreferredBackupTime") @com.aliyun.core.annotation.Validation(required = true) private String preferredBackupTime; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ResourceOwnerAccount") private String resourceOwnerAccount; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ResourceOwnerId") private Long resourceOwnerId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ZoneId") private String zoneId; private ModifyBackupPolicyRequest(Builder builder) { super(builder); this.clientToken = builder.clientToken; this.clusterId = builder.clusterId; this.ownerId = builder.ownerId; this.preferredBackupEndTimeUTC = builder.preferredBackupEndTimeUTC; this.preferredBackupPeriod = builder.preferredBackupPeriod; this.preferredBackupStartTimeUTC = builder.preferredBackupStartTimeUTC; this.preferredBackupTime = builder.preferredBackupTime; this.regionId = builder.regionId; this.resourceOwnerAccount = builder.resourceOwnerAccount; this.resourceOwnerId = builder.resourceOwnerId; this.zoneId = builder.zoneId; } public static Builder builder() { return new Builder(); } public static ModifyBackupPolicyRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return clientToken */ public String getClientToken() { return this.clientToken; } /** * @return clusterId */ public String getClusterId() { return this.clusterId; } /** * @return ownerId */ public Long getOwnerId() { return this.ownerId; } /** * @return preferredBackupEndTimeUTC */ public String getPreferredBackupEndTimeUTC() { return this.preferredBackupEndTimeUTC; } /** * @return preferredBackupPeriod */ public String getPreferredBackupPeriod() { return this.preferredBackupPeriod; } /** * @return preferredBackupStartTimeUTC */ public String getPreferredBackupStartTimeUTC() { return this.preferredBackupStartTimeUTC; } /** * @return preferredBackupTime */ public String getPreferredBackupTime() { return this.preferredBackupTime; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return resourceOwnerAccount */ public String getResourceOwnerAccount() { return this.resourceOwnerAccount; } /** * @return resourceOwnerId */ public Long getResourceOwnerId() { return this.resourceOwnerId; } /** * @return zoneId */ public String getZoneId() { return this.zoneId; } public static final class Builder extends Request.Builder { private String clientToken; private String clusterId; private Long ownerId; private String preferredBackupEndTimeUTC; private String preferredBackupPeriod; private String preferredBackupStartTimeUTC; private String preferredBackupTime; private String regionId; private String resourceOwnerAccount; private Long resourceOwnerId; private String zoneId; private Builder() { super(); } private Builder(ModifyBackupPolicyRequest request) { super(request); this.clientToken = request.clientToken; this.clusterId = request.clusterId; this.ownerId = request.ownerId; this.preferredBackupEndTimeUTC = request.preferredBackupEndTimeUTC; this.preferredBackupPeriod = request.preferredBackupPeriod; this.preferredBackupStartTimeUTC = request.preferredBackupStartTimeUTC; this.preferredBackupTime = request.preferredBackupTime; this.regionId = request.regionId; this.resourceOwnerAccount = request.resourceOwnerAccount; this.resourceOwnerId = request.resourceOwnerId; this.zoneId = request.zoneId; } /** * ClientToken. */ public Builder clientToken(String clientToken) { this.putQueryParameter("ClientToken", clientToken); this.clientToken = clientToken; return this; } /** * ClusterId. */ public Builder clusterId(String clusterId) { this.putQueryParameter("ClusterId", clusterId); this.clusterId = clusterId; return this; } /** * OwnerId. */ public Builder ownerId(Long ownerId) { this.putQueryParameter("OwnerId", ownerId); this.ownerId = ownerId; return this; } /** * PreferredBackupEndTimeUTC. */ public Builder preferredBackupEndTimeUTC(String preferredBackupEndTimeUTC) { this.putQueryParameter("PreferredBackupEndTimeUTC", preferredBackupEndTimeUTC); this.preferredBackupEndTimeUTC = preferredBackupEndTimeUTC; return this; } /** * PreferredBackupPeriod. */ public Builder preferredBackupPeriod(String preferredBackupPeriod) { this.putQueryParameter("PreferredBackupPeriod", preferredBackupPeriod); this.preferredBackupPeriod = preferredBackupPeriod; return this; } /** * PreferredBackupStartTimeUTC. */ public Builder preferredBackupStartTimeUTC(String preferredBackupStartTimeUTC) { this.putQueryParameter("PreferredBackupStartTimeUTC", preferredBackupStartTimeUTC); this.preferredBackupStartTimeUTC = preferredBackupStartTimeUTC; return this; } /** * PreferredBackupTime. */ public Builder preferredBackupTime(String preferredBackupTime) { this.putQueryParameter("PreferredBackupTime", preferredBackupTime); this.preferredBackupTime = preferredBackupTime; return this; } /** * RegionId. */ public Builder regionId(String regionId) { this.putQueryParameter("RegionId", regionId); this.regionId = regionId; return this; } /** * ResourceOwnerAccount. */ public Builder resourceOwnerAccount(String resourceOwnerAccount) { this.putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount); this.resourceOwnerAccount = resourceOwnerAccount; return this; } /** * ResourceOwnerId. */ public Builder resourceOwnerId(Long resourceOwnerId) { this.putQueryParameter("ResourceOwnerId", resourceOwnerId); this.resourceOwnerId = resourceOwnerId; return this; } /** * ZoneId. */ public Builder zoneId(String zoneId) { this.putQueryParameter("ZoneId", zoneId); this.zoneId = zoneId; return this; } @Override public ModifyBackupPolicyRequest build() { return new ModifyBackupPolicyRequest(this); } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy