com.aliyun.oos20190601.models.UpdateSecretParameterResponseBody Maven / Gradle / Ivy
Show all versions of oos20190601 Show documentation
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.oos20190601.models;
import com.aliyun.tea.*;
public class UpdateSecretParameterResponseBody extends TeaModel {
/**
* The information about the parameter.
*/
@NameInMap("Parameter")
public UpdateSecretParameterResponseBodyParameter parameter;
/**
* The ID of the request.
*
* example:
* 0B419FF3-ABC6-4DF0-95E5-636DC8CBB8AF
*/
@NameInMap("RequestId")
public String requestId;
public static UpdateSecretParameterResponseBody build(java.util.Map map) throws Exception {
UpdateSecretParameterResponseBody self = new UpdateSecretParameterResponseBody();
return TeaModel.build(map, self);
}
public UpdateSecretParameterResponseBody setParameter(UpdateSecretParameterResponseBodyParameter parameter) {
this.parameter = parameter;
return this;
}
public UpdateSecretParameterResponseBodyParameter getParameter() {
return this.parameter;
}
public UpdateSecretParameterResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public static class UpdateSecretParameterResponseBodyParameter extends TeaModel {
/**
* The constraints of the parameter.
*
* example:
* \"{\"\"AllowedValues":["secretparameter"],"AllowedPattern":".*","MinLength":0,"MaxLength":20}\"
*/
@NameInMap("Constraints")
public String constraints;
/**
* The user who created the parameter.
*
* example:
* root(130900000)
*/
@NameInMap("CreatedBy")
public String createdBy;
/**
* The time when the parameter was created.
*
* example:
* 2020-09-01T09:30:36Z
*/
@NameInMap("CreatedDate")
public String createdDate;
/**
* The description of the parameter.
*
* example:
* SecretParameter
*/
@NameInMap("Description")
public String description;
/**
* The ID of the parameter.
*
* example:
* p-0b0fff9919c946xxxxxx
*/
@NameInMap("Id")
public String id;
/**
* The ID of customer master key (CMK) of Key Management Service (KMS) that is used for encryption.
*
* example:
* 80e9409f-78fa-42ab-84bd-83f40c******
*/
@NameInMap("KeyId")
public String keyId;
/**
* The name of the parameter.
*
* example:
* MyParameter
*/
@NameInMap("Name")
public String name;
/**
* The version number of the parameter.
*
* example:
* 2
*/
@NameInMap("ParameterVersion")
public Integer parameterVersion;
/**
* The ID of the resource group.
*
* example:
* rg-acfmxsn4m4******
*/
@NameInMap("ResourceGroupId")
public String resourceGroupId;
/**
* The share type of the parameter.
*
* example:
* Private
*/
@NameInMap("ShareType")
public String shareType;
/**
* The tags of the parameter.
*
* example:
* {"k1": "v1", "k2": "v2"}
*/
@NameInMap("Tags")
public String tags;
/**
* The type of the parameter.
*
* example:
* Secret
*/
@NameInMap("Type")
public String type;
/**
* The user who updated the parameter.
*
* example:
* root(130900000)
*/
@NameInMap("UpdatedBy")
public String updatedBy;
/**
* The time when the parameter was updated.
*
* example:
* 2020-09-01T09:33:11Z
*/
@NameInMap("UpdatedDate")
public String updatedDate;
public static UpdateSecretParameterResponseBodyParameter build(java.util.Map map) throws Exception {
UpdateSecretParameterResponseBodyParameter self = new UpdateSecretParameterResponseBodyParameter();
return TeaModel.build(map, self);
}
public UpdateSecretParameterResponseBodyParameter setConstraints(String constraints) {
this.constraints = constraints;
return this;
}
public String getConstraints() {
return this.constraints;
}
public UpdateSecretParameterResponseBodyParameter setCreatedBy(String createdBy) {
this.createdBy = createdBy;
return this;
}
public String getCreatedBy() {
return this.createdBy;
}
public UpdateSecretParameterResponseBodyParameter setCreatedDate(String createdDate) {
this.createdDate = createdDate;
return this;
}
public String getCreatedDate() {
return this.createdDate;
}
public UpdateSecretParameterResponseBodyParameter setDescription(String description) {
this.description = description;
return this;
}
public String getDescription() {
return this.description;
}
public UpdateSecretParameterResponseBodyParameter setId(String id) {
this.id = id;
return this;
}
public String getId() {
return this.id;
}
public UpdateSecretParameterResponseBodyParameter setKeyId(String keyId) {
this.keyId = keyId;
return this;
}
public String getKeyId() {
return this.keyId;
}
public UpdateSecretParameterResponseBodyParameter setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
public UpdateSecretParameterResponseBodyParameter setParameterVersion(Integer parameterVersion) {
this.parameterVersion = parameterVersion;
return this;
}
public Integer getParameterVersion() {
return this.parameterVersion;
}
public UpdateSecretParameterResponseBodyParameter setResourceGroupId(String resourceGroupId) {
this.resourceGroupId = resourceGroupId;
return this;
}
public String getResourceGroupId() {
return this.resourceGroupId;
}
public UpdateSecretParameterResponseBodyParameter setShareType(String shareType) {
this.shareType = shareType;
return this;
}
public String getShareType() {
return this.shareType;
}
public UpdateSecretParameterResponseBodyParameter setTags(String tags) {
this.tags = tags;
return this;
}
public String getTags() {
return this.tags;
}
public UpdateSecretParameterResponseBodyParameter setType(String type) {
this.type = type;
return this;
}
public String getType() {
return this.type;
}
public UpdateSecretParameterResponseBodyParameter setUpdatedBy(String updatedBy) {
this.updatedBy = updatedBy;
return this;
}
public String getUpdatedBy() {
return this.updatedBy;
}
public UpdateSecretParameterResponseBodyParameter setUpdatedDate(String updatedDate) {
this.updatedDate = updatedDate;
return this;
}
public String getUpdatedDate() {
return this.updatedDate;
}
}
}