public APIErrorType withSecretId(String secretId) {
        setSecretId(secretId);
        return this;
    }
<p>
The ARN or name of the secret.
</p>

@param secretId
       The ARN or name of the secret.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-secretsmanager/src/main/java/com/amazonaws/services/secretsmanager/model/APIErrorType.java