com.aliyun.sdk.service.gpdb20160503.models.DeleteSecretResponseBody Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-gpdb20160503 Show documentation
Show all versions of alibabacloud-gpdb20160503 Show documentation
Alibaba Cloud gpdb (20160503) Async SDK for Java
The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.gpdb20160503.models;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link DeleteSecretResponseBody} extends {@link TeaModel}
*
* DeleteSecretResponseBody
*/
public class DeleteSecretResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Message")
private String message;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("SecretArn")
private String secretArn;
@com.aliyun.core.annotation.NameInMap("Status")
private String status;
private DeleteSecretResponseBody(Builder builder) {
this.message = builder.message;
this.requestId = builder.requestId;
this.secretArn = builder.secretArn;
this.status = builder.status;
}
public static Builder builder() {
return new Builder();
}
public static DeleteSecretResponseBody create() {
return builder().build();
}
/**
* @return message
*/
public String getMessage() {
return this.message;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return secretArn
*/
public String getSecretArn() {
return this.secretArn;
}
/**
* @return status
*/
public String getStatus() {
return this.status;
}
public static final class Builder {
private String message;
private String requestId;
private String secretArn;
private String status;
/**
* The returned message.
*/
public Builder message(String message) {
this.message = message;
return this;
}
/**
* The request ID.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* The ARN of the access credential for the created Data API account. Format: `acs:gpdb:{{region}}:{{accountId}}:secret/{{secretName}}-{{32 digits random string}`.
*/
public Builder secretArn(String secretArn) {
this.secretArn = secretArn;
return this;
}
/**
* The status of the operation. Valid values:
*
*
* * **fail**
* * **success**
*/
public Builder status(String status) {
this.status = status;
return this;
}
public DeleteSecretResponseBody build() {
return new DeleteSecretResponseBody(this);
}
}
}