-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
15 changed files
with
815 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
2023-10-30 Version: 1.8.42 | ||
- Support new feature. | ||
|
||
2023-09-14 Version: 1.8.41 | ||
- Support new feature. | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
145 changes: 145 additions & 0 deletions
145
.../src/main/java/com/aliyuncs/polardb/model/v20170801/CreateColdStorageInstanceRequest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,145 @@ | ||
/* | ||
* 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.polardb.model.v20170801; | ||
|
||
import com.aliyuncs.RpcAcsRequest; | ||
import com.aliyuncs.http.MethodType; | ||
import com.aliyuncs.polardb.Endpoint; | ||
|
||
/** | ||
* @author auto create | ||
* @version | ||
*/ | ||
public class CreateColdStorageInstanceRequest extends RpcAcsRequest<CreateColdStorageInstanceResponse> { | ||
|
||
|
||
private Long resourceOwnerId; | ||
|
||
private String clientToken; | ||
|
||
private String resourceGroupId; | ||
|
||
private String resourceOwnerAccount; | ||
|
||
private String dBClusterId; | ||
|
||
private String ownerAccount; | ||
|
||
private String coldStorageInstanceDescription; | ||
|
||
private Long ownerId; | ||
public CreateColdStorageInstanceRequest() { | ||
super("polardb", "2017-08-01", "CreateColdStorageInstance", "polardb"); | ||
setMethod(MethodType.POST); | ||
try { | ||
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); | ||
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType); | ||
} catch (Exception e) {} | ||
} | ||
|
||
public Long getResourceOwnerId() { | ||
return this.resourceOwnerId; | ||
} | ||
|
||
public void setResourceOwnerId(Long resourceOwnerId) { | ||
this.resourceOwnerId = resourceOwnerId; | ||
if(resourceOwnerId != null){ | ||
putQueryParameter("ResourceOwnerId", resourceOwnerId.toString()); | ||
} | ||
} | ||
|
||
public String getClientToken() { | ||
return this.clientToken; | ||
} | ||
|
||
public void setClientToken(String clientToken) { | ||
this.clientToken = clientToken; | ||
if(clientToken != null){ | ||
putQueryParameter("ClientToken", clientToken); | ||
} | ||
} | ||
|
||
public String getResourceGroupId() { | ||
return this.resourceGroupId; | ||
} | ||
|
||
public void setResourceGroupId(String resourceGroupId) { | ||
this.resourceGroupId = resourceGroupId; | ||
if(resourceGroupId != null){ | ||
putQueryParameter("ResourceGroupId", resourceGroupId); | ||
} | ||
} | ||
|
||
public String getResourceOwnerAccount() { | ||
return this.resourceOwnerAccount; | ||
} | ||
|
||
public void setResourceOwnerAccount(String resourceOwnerAccount) { | ||
this.resourceOwnerAccount = resourceOwnerAccount; | ||
if(resourceOwnerAccount != null){ | ||
putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount); | ||
} | ||
} | ||
|
||
public String getDBClusterId() { | ||
return this.dBClusterId; | ||
} | ||
|
||
public void setDBClusterId(String dBClusterId) { | ||
this.dBClusterId = dBClusterId; | ||
if(dBClusterId != null){ | ||
putQueryParameter("DBClusterId", dBClusterId); | ||
} | ||
} | ||
|
||
public String getOwnerAccount() { | ||
return this.ownerAccount; | ||
} | ||
|
||
public void setOwnerAccount(String ownerAccount) { | ||
this.ownerAccount = ownerAccount; | ||
if(ownerAccount != null){ | ||
putQueryParameter("OwnerAccount", ownerAccount); | ||
} | ||
} | ||
|
||
public String getColdStorageInstanceDescription() { | ||
return this.coldStorageInstanceDescription; | ||
} | ||
|
||
public void setColdStorageInstanceDescription(String coldStorageInstanceDescription) { | ||
this.coldStorageInstanceDescription = coldStorageInstanceDescription; | ||
if(coldStorageInstanceDescription != null){ | ||
putQueryParameter("ColdStorageInstanceDescription", coldStorageInstanceDescription); | ||
} | ||
} | ||
|
||
public Long getOwnerId() { | ||
return this.ownerId; | ||
} | ||
|
||
public void setOwnerId(Long ownerId) { | ||
this.ownerId = ownerId; | ||
if(ownerId != null){ | ||
putQueryParameter("OwnerId", ownerId.toString()); | ||
} | ||
} | ||
|
||
@Override | ||
public Class<CreateColdStorageInstanceResponse> getResponseClass() { | ||
return CreateColdStorageInstanceResponse.class; | ||
} | ||
|
||
} |
51 changes: 51 additions & 0 deletions
51
...src/main/java/com/aliyuncs/polardb/model/v20170801/CreateColdStorageInstanceResponse.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
/* | ||
* 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.polardb.model.v20170801; | ||
|
||
import com.aliyuncs.AcsResponse; | ||
import com.aliyuncs.polardb.transform.v20170801.CreateColdStorageInstanceResponseUnmarshaller; | ||
import com.aliyuncs.transform.UnmarshallerContext; | ||
|
||
/** | ||
* @author auto create | ||
* @version | ||
*/ | ||
public class CreateColdStorageInstanceResponse extends AcsResponse { | ||
|
||
private String requestId; | ||
|
||
private String coldStorageInstanceId; | ||
|
||
public String getRequestId() { | ||
return this.requestId; | ||
} | ||
|
||
public void setRequestId(String requestId) { | ||
this.requestId = requestId; | ||
} | ||
|
||
public String getColdStorageInstanceId() { | ||
return this.coldStorageInstanceId; | ||
} | ||
|
||
public void setColdStorageInstanceId(String coldStorageInstanceId) { | ||
this.coldStorageInstanceId = coldStorageInstanceId; | ||
} | ||
|
||
@Override | ||
public CreateColdStorageInstanceResponse getInstance(UnmarshallerContext context) { | ||
return CreateColdStorageInstanceResponseUnmarshaller.unmarshall(this, context); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.